ensure proper ObjectID objects are used in web client where appropriate