add check to method for updating the response if the value is null.

If it was null (e.g. in a not set variable of an annotated process) this method threw a nullpointerexception and the whole process failed. An alternative would be to log the error and not add the output at all, but since this is literal data Imho an error message could be OK.

Does the spec. say something about failing if parts of a process failed?