title: JavaScript: Remove keys from json object
body: <p>Example output from PHP:</p>
  
  <pre><code>{
      "RootName_0":{"Id":1,"ValId":1,"Value":"Colour","Text":"Blue"},
      "RootName_1":{"Id":1,"ValId":2,"Value":"Colour","Text":"Red"}
  }
  </code></pre>
  
  <p>How can I use <code>Backbone.js</code> or <code>jQuery</code> to only have:</p>
  
  <pre><code>[
      {"Id":1,"ValId":1,"Value":"Colour","Text":"Blue"},
      {"Id":1,"ValId":2,"Value":"Colour","Text":"Red"}
  ]
  </code></pre>
  
  <p>If it's easier to use PHP to edit the JSON, then so be it.</p>