title: MongoDB $project to pluck certain property (return it as array)
body: <p>I have a MongoDB collection like this</p>
  
  <pre><code>[
    { taskType:1, client:{name:"Moe",...}, ... },
    { taskType:1, client:{name:"Larry",...}, ... },
    { taskType:1, client:{name:"Curly",...}, ... }
  ]
  </code></pre>
  
  <p>I can run the following <code>$project</code> query on it:</p>
  
  <pre><code>{$project:{_id:0, client:"$client"}}
  </code></pre>
  
  <p>and I get this result:</p>
  
  <pre><code>[
    { client:{name:"Moe",...} },
    { client:{name:"Larry",...} },
    { client:{name:"Curly",...} }
  ]
  </code></pre>
  
  <p>but I'm actually looking for a result like this:</p>
  
  <pre><code>[
    {name:"Moe",...},
    {name:"Larry",...},
    {name:"Curly",...}
  ]
  </code></pre>
  
  <p>How can I do it (if I can at all)? </p>