title: Convert table HTML to JSON
body: <p>I have this:</p>
  
  <pre><code>&lt;table&gt;
      &lt;tr&gt;
          &lt;th&gt;Name:&lt;/th&gt;
          &lt;td&gt;Carlos&lt;/td&gt;
      &lt;/tr&gt;        
      &lt;tr&gt;
          &lt;th&gt;Age:&lt;/th&gt;
          &lt;td&gt;22&lt;/td&gt;
      &lt;/tr&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>And I need a JSON format.</p>
  
  <pre><code>{"Name":"Carlos","Age": 22}
  </code></pre>
  
  <p>I've tried with <a href="https://github.com/lightswitch05/table-to-json" rel="nofollow noreferrer">https://github.com/lightswitch05/table-to-json</a> but it doesn't work for the headings in every row :(</p>
  
  <p>EDIT: <a href="http://jsfiddle.net/Crw2C/773/" rel="nofollow noreferrer">http://jsfiddle.net/Crw2C/773/</a></p>