From http://stackoverflow.com/questions/7543779/ruby-json-parse-changes-hash-keys