title: Change name of main row Rails in JSON
body: <p>So i have a json:</p>
  <pre><code>{
    &quot;code&quot;: &quot;Q0934X&quot;,
    &quot;name&quot;: &quot;PIDBA&quot;,
    &quot;longlat&quot;: &quot;POINT(23.0 33.0)&quot;,
    &quot;altitude&quot;: 33
  }
  </code></pre>
  <p>And i want to change the column <code>code</code> to <code>Identifier</code></p>
  <p>The wished output is this</p>
  <pre><code>{
    &quot;Identifier&quot;: &quot;Q0934X&quot;,
    &quot;name&quot;: &quot;PIDBA&quot;,
    &quot;longlat&quot;: &quot;POINT(23.0 33.0)&quot;,
    &quot;altitude&quot;: 33
  }
  
  </code></pre>
  <p>How can i do in the shortest way? Thanks</p>