title: How to convert a array containing object string to regular key object pair?
body: <p>I am trying to convert my uri to object value, as a success level i converted and splited in to array values with colon. But i am not able to onvert those to regular object. any one suggest me a good way. I am suing underscorejs with me.</p>
  
  <p>here is my code :</p>
  
  <pre><code>var ar = ["id:1231", "currency:GBP"];
  
  var outPut = _.map(ar, function(item){
      return '{' + item + '}';
  })
  
  console.log(outPut); //consoles as ["{id:1231}", "{currency:GBP}"]
  </code></pre>
  
  <p>how can i get result like this:</p>
  
  <pre><code>var object = {id:1231, currency:GBP}
  </code></pre>
  
  <p>is underscore has any in build method for this?</p>