title: ember map object from ember data store
body: <p>I am trying to map an object in the model hook. I have this object provided by mirage.</p>
  
  <pre><code>let temp = {"users": [
      {
          "id":1,
          "forename":"Test",
          "surname":"Name"
      },
      {
          "id":2,
          "forename":"Hans",
          "surname":"Solo"
      },
      {
          "id":3,
          "forename":"Peter",
          "surname":"Pan"
      }
  ]
  </code></pre>
  
  <p>};</p>
  
  <p>In the model hook I want to use this: </p>
  
  <pre><code>return this.get('store').findAll('user').then(x =&gt; x.map(x =&gt; x.id + x.forename + x.surname));
  </code></pre>
  
  <p>I am getting this:</p>
  
  <blockquote>
    <p>1[object Object][object Object] 2[object Object][object
    Object] 133000[object Object][object Object] 3[object
    Object][object Object]</p>
  </blockquote>
  
  <p>And I am using this in the template (at the moment just for test if it works):</p>
  
  <pre><code>{{#each model as |SingleUser|}}
  {{SingleUser}}
  {{/each}}
  </code></pre>
  
  <p>I tried to just map to the ID and this works fine. Furthermore it works fine if I will declare the temp directly in the model hook. Is there anything with promise which impede my map?</p>
  
  <p>I need this working because I am implementing a ember power select multiselection and I want to show the user the id, forename and surename.</p>