change operation data to binary type to store pickled values