title: JSON.stringify() only allows one value parameter. How do I add more parameters to be stringified under one brace?
body: <pre><code>http.get(options, function(res){
              fs.appendFile('log.txt', JSON.stringify(res.headers, null, 4));
  })
  </code></pre>
  
  <p>I have a question regarding the <code>JSON.stringify()</code> function.</p>
  
  <p>I've learned that simply using the <code>res.headers</code> does <em>not</em> in fact output to JSON format. </p>
  
  <p>At the moment, I am restricted to only being able to use one res.xxxxx method within JSON.stringify(). The piece of code in question is pasted above. How am I able to use more than one value? At the moment, I can only put in <code>res.headers</code> into the <code>value</code> parameter. I would also like to use <code>res.statusCode</code> and my own objects, all stringified under one brace {}.</p>
  
  <p>The parameters of JSON.Stringify is as follows: <code>JSON.stringify(value, [replacer], [space]);</code></p>