class Hash

def deep_transform_values(&block)

# => {person: {name: "ROB", age: "28"}}
hash.deep_transform_values{ |value| value.to_s.upcase }

hash = { person: { name: 'Rob', age: '28' } }

nested hashes and arrays.
This includes the values from the root hash and from all
Returns a new hash with all values converted by the block operation.
def deep_transform_values(&block)
  _deep_transform_values_in_object(self, &block)
end