This version is old school.
Please find jQuery plugins on npm.
jquery-serializeForm - Make an object out of form elements
by Dan Heberden
Make an object out of form elements. \ Keywords: serialize, serializeForm, serializeObject, serializeArray, form-object, param, params