code: private Object toEnum(ParameterType parameterType, String enumTextValue, String paramName, boolean hardFailEnumDeserialisation) {
          try {
              return EnumUtils.readEnum(parameterType.getImplementationClass(), enumTextValue, hardFailEnumDeserialisation);
          } catch (Exception e) {
              throw XMLTranscriptionInput.exceptionDuringDeserialisation(parameterType, paramName, e, false);
          }
      }
docs: Deserialise enums explicitly