class Hash

def deep_symbolize_keys!

nested hashes and arrays.
to +to_sym+. This includes the keys from the root hash and from all
Destructively converts all keys to symbols, as long as they respond
def deep_symbolize_keys!
  deep_transform_keys! { |key| key.to_sym rescue key }
end