title: Convert arrays to key value pair
body: <p>I have an array</p>
  
  <pre><code>[
  {"field" : "flight1", "value" : "123"},
  {"field" : "flight2", "value" : "456"}
  ]
  </code></pre>
  
  <p>is it possible to become key value pair?</p>
  
  <pre><code>{
  "flight1" : "123",
  "flight2" : "456"
  }
  </code></pre>