title: get property value and add property into new array
body: <p>I have this data structure</p>
  
  <pre><code>[
      {photos: [{name:'abc'}]},
      {photos: [{name:'xyz'}]},
  ]
  </code></pre>
  
  <p>How can I add name property as photo's sibling like this</p>
  
  <pre><code>[
      {photos: [{name:'abc'}], name:'abc'}
      {photos: [{name:'xyz'}], name: 'xyz'},
  ]
  </code></pre>