Invert message serialization