title: how to store the same key for data in single array
body: <p>Check For Brackets
  Current Result: </p>
  
  <pre><code>[{"Date":"2019-02-18","type":"Casual Leave","value":0},
   {"type":"Sick Leave","value":0},
   {"type":"Emergency Leave","value":0},
   {"type":"Comp Off","value":0},
   {"Date":"2019-02-19","type":"Casual Leave","value":0},
   {"type":"Sick Leave","value":0},
   {"type":"Emergency Leave","value":0},
   {"type":"Comp Off","value":0}]
  </code></pre>
  
  <p>Expected Result: </p>
  
  <pre><code>[{"Date":"2019-02-18",
    "type":"Casual Leave","value":0,
    "type":"Sick Leave","value":0,
    "type":"Emergency Leave","value":0,
    "type":"Comp Off","value":0},
   {"Date":"2019-02-19",
    "type":"Casual Leave","value":0,
    "type":"Sick Leave","value":0,
    "type":"Emergency Leave","value":0,
    "type":"Comp Off","value":0}]
  </code></pre>