title: merging javascript objects to csv format
body: <p>I am trying to get an output as like below (expected output), by combining four different data set (data1,data2,data3,data4), 
  where all the names to get combined and value to get added.</p>
  
  <pre><code>var 
  data1 = [{name:"js",value:"20"}],
  data2=[{name:"c#",value:10}],
  data3=[{name:"ds",value:30}],
  data4 = [{name:"java",value:10},{name:"c",value:40}]
  </code></pre>
  
  <p>expected output </p>
  
  <pre><code>output = "js-c#-ds-java,70\n\
  js-c#-ds-c,100\n"
  </code></pre>