title: Split object into two properties
body: <p>a very beginner question below I'm sure, apologies for asking but I've had a good hunt on the matter with no luck... I'm looking to 'break' or 'expand' the following:</p>
  
  <pre><code>var words = { hello: 2, there: 3, heres: 1, text: 1 }
  </code></pre>
  
  <p>Into this:</p>
  
  <pre><code>var words = [{
    word: 'hello',
    count: 2
  }, {
    word: 'there',
    count: 3
  }, {
    word: 'heres',
    count: 1
  }, {
    word: 'text',
    count: 1
  }]
  </code></pre>
  
  <p>I've been messing around a lot with Underscore.js, but must be missing something very obvious. Any help will be greatly appreciated, thanks!</p>