title: Typescript create array from object
body: <p>How can I convert the following object:</p>
  <pre><code>{
    Value1: 1,
    Value2: 3
  }
  </code></pre>
  <p>into an array that looks like this:</p>
  <pre><code>[
   {name: Value1, position: 1},
   {name: Value2, position: 3}
  ]
  </code></pre>
  <p>I've tried using <code>Object.keys</code>, but didn't really get the desired results.</p>