title: How to populate values in array format in mongoose
body: <p>I have a Model structure as below in which the stage is retrieved from another model</p>
  
  <pre><code>var stageSchema = new Schema({
    Name: String,
    Stage: {
      type: Schema.ObjectId,
      ref: 'StageName',
    }
  }, {
    collection: 'StageList'
  });
  </code></pre>
  
  <p>I have written query to retrieve data using mongoose as shown below:</p>
  
  <pre><code>exports.findall = function(req, res) {
      stage.find().populate({path:'Stage',select:'-_id'}).lean().exec(function(err, value1) {
          res.send(value1);
    });
  };
  </code></pre>
  
  <p>It displays the result as shown below</p>
  
  <pre><code>[{_id:213465465465465, Name: "AAA", Stage: {Value: "Stage1"}},{_id:213465465465465, Name: "BBB", Stage: {Value: "Stage2"}}]
  </code></pre>
  
  <p>But I want the Stage to be in array format without the key "Value" as shown below:</p>
  
  <pre><code>[{_id:213465465465465, Name: "AAA", Stage: ["Stage1"]},{_id:213465465465465, Name: "BBB", Stage: ["Stage2"]}]
  </code></pre>
  
  <p>Please help to get through this problem. Thanks in advance.</p>