Fixed conversion from String to Enum in POST request