title: Convert returned JSON Object Properties to (lower first) camelCase
body: <p>I have JSON returned from an API like so:</p>
  <pre><code>Contacts: [{ GivenName: &quot;Matt&quot;, FamilyName: &quot;Berry&quot; }]
  </code></pre>
  <p>To keep this consistent with my code style (camelCase - lower case first letter) I want to transform the array to produce the following:</p>
  <pre><code> contacts: [{ givenName: &quot;Matt&quot;, familyName: &quot;Berry&quot; }]
  </code></pre>
  <p>What's the easiest/best way to do this? Create a new Contact object and iterate over all the contacts in the returned array?</p>
  <pre><code>var jsonContacts = json[&quot;Contacts&quot;],
      contacts= [];
          
  _.each(jsonContacts , function(item){
      var contact = new Contact( item.GivenName, item.FamilyName );
      contacts.push(contact);
  });
  </code></pre>
  <p>or can I map the original array or transform it somehow?</p>