Add serializeJSON for form according to W3C HTML JSON form submission.