Mongodb Function: _id (ObjectId) missing in query aggregate results

Also, the $addFields should overwrite the existing one in the collection, but it doesn’t seem to.