Made args_to_payload private