title: How to print an object as JSON to console in Angular2?
body: <p>I'm using a service to load my form data into an array in my angular2 app.
  The data is stored like this:</p>
  
  <pre><code>arr = []
  arr.push({title:name})
  </code></pre>
  
  <p>When I do a <code>console.log(arr)</code>, it is shown as Object. What I need is to see it
  as <code>[ { 'title':name } ]</code>. How can I achieve that?</p>