merges multiple payloads