Updated GeneratorEnd controller (and view) in order to save the story as a JSON file.