String rawSerialization = command.getSerialization();
try {
String substitutedSerialization = csm.performVariableSubstitution(rawSerialization);
selectedCommand = commandService.deserialize(substitutedSerialization);
IEvaluationContext state = handlerService.getCurrentState();
result = selectedCommand.executeWithChecks(null, state);
String returnsAttribute = command.getReturns();
if ((returnsAttribute != null) && (result != null)) {
ParameterType returnType = selectedCommand.getCommand().getReturnType();
if ((returnType != null && (returnType.getValueConverter() != null))) {