title: Convert deque to Json
body: <p>I have a server that reveives a set of data like this : </p>
  
  <pre><code>['Date(yyyy - mm - dd)', 'Time', 'Conductivity(mS / cm)', 'Temperature(C)', 'Depth(m)', 'Battery(V)', 'Salinity(PSU)', 'Density (kg m-3)', 'Calc, SV (m/s)']
  ['18/01/2017', '08:04,3', '12,217', '8,701', '2,1', '7,6', '10,453', '1008,002', '1455,04']
  ['18/01/2017', '08:04,8', '12,256', '8,695', '2,19', '7,6', '10,49', '1008,031', '1455,06']
  ['18/01/2017', '08:05,3', '36,04', '8,697', '2,17', '7,6', '34,131', '1026,495', '1484,05']
  ['18/01/2017', '08:05,8', '36,003', '8,689', '2,23', '7,6', '34,099', '1026,472', '1483,98']
  ['18/01/2017', '08:06,3', '36,088', '8,696', '2,32', '7,6', '34,182', '1026,536', '1484,11']
  ['18/01/2017', '08:06,8', '35,973', '8,699', '2,44', '7,6', '34,058', '1026,439', '1483,97']
  ['18/01/2017', '08:07,3', '36,121', '8,716', '2,52', '7,6', '34,198', '1026,546', '1484,2']
  </code></pre>
  
  <p>The first line are my keys, and what's next are the values.
  I want to know how to convert this type of list to a json file.</p>
  
  <p>Something like this : 
  { "date": "18/01/2017", "time":"08:04,3"....  }
  Thank you</p>