title: Make object from an array of key-value pairs using Lodash
body: <p>I am using Lodash to create an object from an array but the result is not what I expected. Here is the code:</p>
  
  <pre class="lang-js prettyprint-override"><code>var _ = require('lodash');
  var data = [ 
    [ 'creds', 'ZHRyYWhlZMMKDWhzYW5EaG1hZDE=' ],
    [ 'loggedIn', true ],
  ];
  var result = _.zipObject(data);
  </code></pre>
  
  <p>Now the result is:</p>
  
  <pre><code>{creds,ZHRyYWhlZMMKDWhzYW5EaG1hZDE=: undefined, loggedIn,true: undefined}
  </code></pre>
  
  <p>but what I need is: </p>
  
  <pre><code>{'creds':'ZHRyYWhlZMMKDWhzYW5EaG1hZDE=', 'loggedIn':true}
  </code></pre>