Update DocumentPersister to convert shard keys that match ObjectId pattern to \MongoId()