def symbolize_keys(hash)
      hash.each_with_object({}) { |(k, v), memo| memo[k.to_sym] = v }
    end
def symbolize_keys(hash)
      hash.each_with_object({}) { |(k, v), memo| memo[k.to_sym] = v }
    end
Symbolizes a hash's keys