Support for hyphen-to-underscore conversion for enums