class Hashie::Hash
def to_hash
def to_hash out = {} keys.each do |k| out[k] = Hashie::Hash === self[k] ? self[k].to_hash : self[k] end out end
def to_hash out = {} keys.each do |k| out[k] = Hashie::Hash === self[k] ? self[k].to_hash : self[k] end out end