Add variable-length toString to ObjectId