title: jQuery serializeArray() key value pairs
body: <p>I'm having a bit of trouble serializing a form</p>
  
  <pre><code>&lt;form&gt;
      &lt;input type="text" name="name1" value="value1"/&gt;
      &lt;input type="text" name="name2" value="value2"/&gt;
  &lt;/form&gt;
  
  $(form).serializeArray()
  </code></pre>
  
  <p>Will return <code>[{name:"name1",value:"value1"},{name:"name2",value:"value2"}]</code> pairs.</p>
  
  <p>Is it possible to get output in the form</p>
  
  <pre><code>{name1:value1,name2:value2}
  </code></pre>
  
  <p>So that they are easier to handle?</p>