this is written by generate_subtitle_counts.update_srt_availability() - it writes a json file for each language, which is read by the subtitledownload command so it can avoid requesting srts from the central server that don't exist.