title: How to serialize form data into an object with nested properties
body: <p>Given the following inputs:</p>
  
  <pre><code>&lt;input name="person[1]['first']" /&gt;
  &lt;input name="person[2]['first']" /&gt;
  &lt;input name="person[3]['first']" /&gt;
  </code></pre>
  
  <p>I want to serialize this into an object like so:</p>
  
  <pre><code>person = {
    1: {first:value},
    2: {first:value},
    3: {first:value}
  }
  </code></pre>
  
  <p>Is this functionality available in jQuery or javascript now? or will I have to write a function to do it?</p>