@mrSidX im guessing you were using that node-red-contrib-objectid because somewhere in your flow you are using a Function node to prepare a query for the Mongodb database? and you wanted to query based on the _id and the id in mongo is a special object which is not exposed to Function nodes. Is this correct ?
maybe there is a way around it without using a seperate node just to create that ObjectId.
with the new versions of Node-red you have something called functionExternalModules that gives you the ability to load external modules in your Function nodes. You can read how to set that up here
Now with that setup you can use the mongodb driver module in the Setup tab of your Function node.

and in code you can use mongo's ObjectId like this ObjectId("6001215079d9790bac657abb")
below is just an example of my temperatures collection test db
let ObjectId = mongodb.ObjectId
msg.collection = "temperatures"
msg.operation = "aggregate"
msg.payload = [
//{$unwind: "$temps"},
{ "$match": { "_id": ObjectId("6001215079d9790bac657abb") } },
{ "$sort": { dt: -1 } },
//{"$limit": 2},
//{"$skip": 0}
];
return msg;