How To Convert Html Form Field Values To A Json Object Javascript