title: Converting Ruby hashes to arrays
body: <p>I have a Hash which is of the form 
  <code>{:a =&gt; {"aa" =&gt; 11,"ab" =&gt; 12}, :b =&gt; {"ba" =&gt; 21,"bb" =&gt; 22}}</code></p>
  
  <p>How do i convert it to the form <code>{:a =&gt; [["aa",11],["ab",12]],:b=&gt;[["ba",21],["bb",22]]}</code></p>