Fix: Wrong serialization of the payload