pdu serializing