$:.push 'lib'; require 'transcriber' class Root < Transcriber::Resource embeds_one :item, start_key: :ugly_nesting_key end class Item < Transcriber::Resource property :id end @root = Root.parse({"ugly_nesting_key" => {"id" => 2000}}).first puts "root: #{@root.inspect}" puts "resource: #{@root.resource}"