ActionResult actionResult;
try {
actionResult = objectMapper.readValue(result, actionResultClass);
} catch (IOException e) {
String message = "Fail to unmarshall action result for identifier " + actionResultClass;
throw new ActionResultMarshallerException(message, e);
}
return actionResult;
}