JSON.stringify and JSON.parse to allow storage of non-string data