title: How to create JSON object Node.js
body: <p>I am trying to create a JSON object in Node.js without any success.
  For example an object like this:</p>
  <pre><code>{ 'Orientation Sensor': 
     [ { sampleTime: '1450632410296',
         data: '76.36731:3.4651554:0.5665419' },
       { sampleTime: '1450632410296',
         data: '78.15431:0.5247617:-0.20050584' } ],
    'Screen Orientation Sensor': 
     [ { sampleTime: '1450632410296',
         data: '255.0:-1.0:0.0' } ],
    'MPU6500 Gyroscope sensor UnCalibrated': 
     [ { sampleTime: '1450632410296',
         data: '-0.05006743:-0.013848438:-0.0063915867},
       { sampleTime: '1450632410296',
         data: '-0.051132694:-0.0127831735:-0.003325345'}]}
  </code></pre>
  <p>but in a dynamic way without any knowledge about the size of every item.
  Is there something like that in Node.js?</p>