Id 06 data serialization and deserialization