I am receiving an object from server that seems something like

```
    var response = [
         {
          "id":"1",
          "series":{
                    "eoy":[10,20,30,40,50,60],
                    "eom":[20,30,40,50,60],
                    "now":[30,40,50,60,70,80]
                   }
         }
         {
          "id":"2",
          "series":{
                   "eoy":[30,40,20,50,10],
                   "eom":[20,10,50,70,20,50],
                   "now":[30,10,70,20]
                   }
         }
    ]

```

inside series, there are many keys and values. just for problem purpose I wrote 3 pairs. Now I want to add those arrays in such a manner that I will get the result as a object which should be like 

```
var result = {
     "eoy":[40,60,50,90,60,60],
     "eom":[40,40,90,120,80,50],
     "now":[60,50,120,80,70,80]
}

```

In this, I'm adding adding all the eoys and making it as one array and doing with every series member. Is there any way to make a single object of all calculated values.