fix serialization of data type for operations and parameters