Stringify a Ruby Hash
class Hash
def stringify
inject({}) do |options, (key, value)|
options[key.to_s] = value.to_s
options
end
end
def stringify!
each do |key, value|
delete(key)
store(key.to_s, value.to_s)
end
end
end