Allow JSON output to be saved.