structure the protocol payloads