I have a Ruby hash which looks like:
{ \"id\" => \"123\", \"name\" => \"test\" }
I would like to convert it to:
{ :id
If you're using Rails (or just Active Support):
{ "id" => "123", "name" => "test" }.symbolize_keys