Fixed bug with serialization/deserialization

parameter from trigger must be body as variant.