[Solved] Array to object process with underscore library


data.map(function(d){
  var id = +(d.test.substring(3));
  return {
    value : "ALP",
    id: id 
    }
});

solved Array to object process with underscore library