title: How can I make my json object's field name a value with in an object array with javascript?
body: <p>This is my object: </p>
  
  <pre><code>{Mary : 'Engineer', Jane : 'Doctor'}
  </code></pre>
  
  <p>I want to turn it into this format:</p>
  
  <pre><code>{[Name: 'Marry', Occupation: 'Engineer'], [Name: 'Jane', Occupation: 'Doctor']}
  </code></pre>
  
  <p>How can I do it with javascript?</p>