ClassCastException when deserializing json process variable

@bernd.frey,

right, so you put ObjectValue into variables, which never gets serialized as there is no wait state in the process. You could put in variables getValueSerialized(), but then you will have to manually deserialize.