title: React - convert object into array of objects with properties
body: <p>I have the following object </p>
  
  <pre><code>"data":{  
           "name 1":"a",
            "name 2":"b",
            "name 3":"b",
          },
  </code></pre>
  
  <p>How can I convert to array of objects that will keep both the name and data "a", "b" so I can map and render compoents for each one passing in the both the name and data? </p>