title: Converting array of objects to array of arrays
body: <p>I have a Array of objects which is something like this :</p>
  
  <pre><code>SomeObject (Array)
    [0] (object)
        id = 1
        name = 'one'
    [1] (object)
        id = 2
        name = 'two'
  </code></pre>
  
  <p>I need it to be An Array of arrays , something like this :</p>
  
  <pre><code>someobject (array)
    [0](array)
       id = 1
       name = 'one'
    [1](array)
       id = 2
       name = 'two'
  </code></pre>
  
  <p>If I do :</p>
  
  <pre><code>test:Array = someobject as Array 
  </code></pre>
  
  <p>This only converts the top not the inner objects. If I try to loop through it and make individual arrays 'as arrays' it gets null.</p>
  
  <p>Any Ideas?</p>