use thrift serialization/deserialization for operation handles