finalized form submission and stringify of JSON