title: How to move nested object into top level without removing top level?
body: <p>suppose i have this data:</p>
  <pre><code>data = [{
      &quot;_id&quot; : &quot;2fApaxgiPx38kpDLA&quot;,
      &quot;profile&quot; : {
          &quot;name&quot; : &quot;Karina 1&quot;,
          &quot;avatar&quot; : &quot;avatar1.jpg&quot;,
          &quot;bio&quot; : &quot;my bio 1&quot;
  },
  {
      &quot;_id&quot; : &quot;NXM6H4EWfeRAAhB7c&quot;,
      &quot;profile&quot; : {
          &quot;name&quot; : &quot;Karina 2&quot;,
          &quot;avatar&quot; : &quot;avatar2.jpg&quot;,
          &quot;bio&quot; : &quot;my bio 2&quot;
      },
  }];
  </code></pre>
  <p>i did <code>_.map(data, &quot;profile&quot;)</code> but it remove top level _id:</p>
  <pre><code>wrongResult = [{
      &quot;name&quot; : &quot;Karina 1&quot;,
      &quot;avatar&quot; : &quot;avatar1.jpg&quot;,
      &quot;bio&quot; : &quot;my bio 1&quot;
  },
  {
      &quot;name&quot; : &quot;Karina 2&quot;,
      &quot;avatar&quot; : &quot;avatar2.jpg&quot;,
      &quot;bio&quot; : &quot;my bio 2&quot;  
  }];
  </code></pre>
  <p>How to move nested object into top level without removing top level like this one:</p>
  <pre><code>expectedResult = [{
      &quot;_id&quot; : &quot;2fApaxgiPx38kpDLA&quot;,
      &quot;name&quot; : &quot;Karina 1&quot;,
      &quot;avatar&quot; : &quot;avatar1.jpg&quot;,
      &quot;bio&quot; : &quot;my bio 1&quot;
  },
  {
      &quot;_id&quot; : &quot;NXM6H4EWfeRAAhB7c&quot;,
      &quot;name&quot; : &quot;Karina 2&quot;,
      &quot;avatar&quot; : &quot;avatar2.jpg&quot;,
      &quot;bio&quot; : &quot;my bio 2&quot;  
  }];
  </code></pre>
  <p>thank You so much....</p>