Enums serialising as lower case