title: How to change json data
body: <p>I am getting back some data from a service and I am struggling to change the structure. Any help would be greatly appreciated.</p>
  
  <p><strong>Current Structure:</strong></p>
  
  <pre><code> {  
    "key1": {    
     "description":"lorem ipsum",  
    },  
    "key2": {    
     "description":"lorem ipsum",  
    } 
   }
  </code></pre>
  
  <p><strong>New Structure:</strong></p>
  
  <pre><code>[    
   {    
      "label":"key1",  
      "description":"lorem ipsum",  
   },    
   {  
      "label":"key2",  
      "description":"lorem ipsum",  
   }  
  ]
  </code></pre>