title: transform list of maps
body: <p>I have an  array like this:</p>
  
  <pre><code>def array = [[firstName:Nick], [lastName:Peter], [age:30]]
  </code></pre>
  
  <p>Now I want to transform it into:</p>
  
  <pre><code>def array = [firstName:Nick, lastName:Peter, age:30]
  </code></pre>
  
  <p>Any help will be appreciated.
  Thanks.</p>