Adding the ability to specify overrides for enum serialization.