MongoDB and Node.js notes

To convert ObjectId to string use ObjectId.toString() and to convert an string ID to ObjectId use ObjectId.createFromHexString(myStringID)