title: JSON.stringify with square brackets
body: <p>I have a JS object:</p>
  
  <pre><code>var source = {};
  source.quantity = 1;
  source.text = 'test';
  </code></pre>
  
  <p>Now I JSON it:</p>
  
  <pre><code>var json = JSON.stringify(source);
  </code></pre>
  
  <p>json looks like this: </p>
  
  <pre><code>{"quantity":"1","text":"test"}
  </code></pre>
  
  <p>I would like it to be like this:</p>
  
  <pre><code>[{"quantity":"1"},{"text":"test"}]
  </code></pre>
  
  <p>Ho can I do this?</p>