updated ObjectId to have parse/tryParse methods and removed the string
constructor