title: How do I specify the root name in a Web Api (JSON) result?
body: <p><strong><em>Ive tried the following things and they dont seem to work.</em></strong></p>
  
  <p><a href="https://stackoverflow.com/questions/15839424/ember-js-rest-adapter-mapping-json-with-no-root-net-web-api">Ember.js Rest Adapter: mapping JSON with no root (.NET Web API)</a></p>
  
  <p><a href="https://stackoverflow.com/questions/13839426/how-can-i-add-a-custom-root-node-when-serializing-an-object-with-json-net">How can I add a custom root node when serializing an object with JSON.NET?</a></p>
  
  <p>Im using a web api controller for this.</p>
  
  <p><strong>This is my class and im returning a list of it:</strong></p>
  
  <pre><code> [JsonObject(Title = "rootNamedObject")]
      public class RootNamedObject
      {
          [JsonProperty("ObjectId")]
          public int Id { get; set; }
          [JsonProperty("Description")]
          public string Description { get; set; }
      }
  </code></pre>
  
  <p><strong>Right now this is my result:</strong></p>
  
  <pre><code>[
  {
      "ObjectId": 1,
      "Description": "Description 1",
  },
  {
      "ObjectId": 2,
      "Description": "Description 2",
  }
  ]
  </code></pre>
  
  <p><strong>I need to generate this:</strong></p>
  
  <pre><code> {
    "rootNamedObject": [
      { 
        "ObjectId": 1, 
        "Description": "Description 1" 
       }
  </code></pre>
  
  <p><strong>Basically just add the name of the class to the result!</strong></p>