Pubsub: fix payload type for non-serialized payloads