Reformat the datagrampacket