Update structure to dynamically decode packets before re-encoding into correct formats etc