Serialization fix for raw data payload