In mongosh, is this what you want?

db.mycollection.aggregate([ { $group: { '_id': "$_id", 'otherFields': { $push: { fields: "$$ROOT" } } } }] )

See also https://www.mongodb.com/docs/manual/reference/operator/aggregation/group