title: Deserialize / parse an object with keyvalue to an object without key in TypeScript
body: <p>The API I use returns a JSON object with the following map structure. I want to parse the object so that the index moves from the key to an object property. I have tried a few things, but right now I'm not getting anywhere. The problem is that I cannot manage to assign only the entries of the object without the key.</p>
  
  <pre><code>private parse(item: Item): Item {
    // parsing
    return parsedItem;
  }
  </code></pre>
  
  <p>The item looks like:</p>
  
  <pre><code>{
    "0": {
      "prop1": "hello",
      "prob2": "test"
    }
  }
  </code></pre>
  
  <p>The object I want:</p>
  
  <pre><code>{
    "key": 0,
    "prop1": "hello",
    "prob2": "test"
  }
  </code></pre>