Converts to string when using BSON::ObjectId from MongoId.