fix for GPMONGODB-232 "save Enums as ordinals"