title: Multiple tables results into one JSON azure mobile services
body: <p>I want to return data from multiple tables into one json object so that i can deserialize at the client side in lists of other objects. The object on the client side looks like this:</p>
  
  <pre><code>class LastSyncEntity
      {
          public List&lt;OptionSettings&gt; option { get; set; }
          public List&lt;Project&gt; project { get; set;}
      }
  </code></pre>
  
  <p>For this i want the json output from my custom API on azure mobile services to look like this:</p>
  
  <pre><code>{
     [
        {option object 1}
        {option object 2}
     ],
     [
        {project object 1}
        {project object 2}
     ],
  }
  </code></pre>
  
  <p>How do i get the javascript on the server to make it like this? I'm completely new to javascript.</p>