Cache form into local storage. Works by serializing form fields and stringifying them.