Change from json to form when submitting params - solve the issue