title: Changing the key name in an array of objects?
body: <p>How can I change the key name in an array of objects?</p>
  
  <pre><code>var arrayObj = [{key1:'value1', key2:'value2'},{key1:'value1', key2:'value2'}];
  </code></pre>
  
  <p>How can I change each <code>key1</code> to <code>stroke</code> so that I get:</p>
  
  <pre><code>var arrayObj = [{stroke:'value1', key2:'value2'},{stroke:'value1', key2:'value2'}];
  </code></pre>