deserialize raw data coming into zmq streams.