title: Remove model name from json results in cakephp 2.x
body: <p>I am using cakephp 2.x and returning some json data using the following; I would like to remove the model name User from the results so only the key and value is returned.</p>
  
  <pre><code>$this-&gt;set('_serialize', 'json');
  </code></pre>
  
  <p>and my results are returned in the following format;</p>
  
  <pre><code>[
  {
      "User": {
          "fullname": "John Smith"
      }
  },
  {
      "User": {
          "fullname": "Jiles Smith"
      }
  }
  }
  ]
  </code></pre>
  
  <p>I am tried the following;</p>
  
  <pre><code>$json = json_encode(Set::extract('/User/.', $json));
  </code></pre>
  
  <p>but its returned like;</p>
  
  <pre><code>"[{\"fullname\":\"Ashley Smith\"},{\"fullname\":\"Leigh Smith\"},{\"fullname\":\"Charlie Chocolate\"}]"
  </code></pre>