pre-serialize payloads