Extract a section of many objects in an array
<p>If I have array of objects like this</p>

<pre><code>[
    {
        "name" : "some name",
        "more data" : "data",
        ...
    },
    {
        "name" : "another name",
        "more data" : "data",
        ...
    },
    ...
]
</code></pre>

<p>And I want to copy the array, but only the name element in the object so that I have this:</p>

<pre><code>[
    {
        "name" : "some name",
    },
    {
        "name" : "another name",
    },
    ...
]
</code></pre>

<p>Is there a short hand way to do this without writing a loop?</p>
