title: Convert object to an array of objects?
body: <p>I have an object that looks like this:</p>
  
  <pre><code>{
    "1": "Technology",
    "2": "Startup",
    "3": "IT",
  }
  </code></pre>
  
  <p>and I need to convert it to an array of objects that would look like this:</p>
  
  <pre><code>[
    {id: 1, name: "Technology"},
    {id: 2, name: "Startup"},
    {id: 3, name: "IT"}
  ]
  </code></pre>
  
  <p>What would be the cleanest &amp; efficient way to do this?</p>