I have this valid javascript code which grabs the form element as objects and stringify it so that it can be posted using JQuery ajax json type.
const for