Rework the way enumerations are serialized to json to match historic behaviour
Rework the way enumerations are serialized to json to match historic behaviour

william-ml-leslie/domgen,icaughley/domgen,icaughley/domgen,realityforge/domgen,realityforge/domgen