$.map object properties to a new array with similar names
<p>I have the following array of objects:</p>

<pre><code>var blah = [
    { foo: 1, bar: 2 },
    { foo: 2, bar: 1 }
];
</code></pre>

<p>I would like to change the property names from <code>foo</code> to <code>Foo</code> and <code>bar</code> to <code>Bar</code>. So I gave <code>jQuery.map</code> a try. However, I'm not sure what to return:</p>

<pre><code>var newBlah = $.map(blah, function(i, v){
    return /* ...? */;
});
</code></pre>

<p>Desired result:</p>

<pre><code>console.log(newBlah); //[{ Foo: 1, Bar: 2... etc
</code></pre>
