fix no form data added while value in payloads is an array