title: How do I convert a Ruby hash so that all of its keys are symbols?
body: <p>I have a Ruby hash which looks like:</p>
  
  <pre><code>{ "id" =&gt; "123", "name" =&gt; "test" }
  </code></pre>
  
  <p>I would like to convert it to:</p>
  
  <pre><code>{ :id =&gt; "123", :name =&gt; "test" }
  </code></pre>