Fix issue could not submit form with JSON