Save JSON file only if a gist has been created