add replace() to payload_to_list()