fix(engine): deserialize value in first command

if a serialized value is set, it can be deserialized in the same command
if so requested.

related to #CAM-3174