old_contents: #!/usr/bin/env python3
  import json
  import glob
  
  # format the json files
  
  def tidy(filename):
      with open(filename) as fh:
          data = json.load(fh)
      with open(filename, 'w') as fh:
          json.dump(data, fh, sort_keys=True, indent=4, separators=(',', ': '), ensure_ascii=False)
  
  for filename in glob.glob("data/*.json"):
      tidy(filename)
  
  for filename in glob.glob("data/podcasts/*.json"):
      tidy(filename)
  
  for filename in glob.glob("data/events/*.json"):
      tidy(filename)
  
  for filename in glob.glob("data/videos/*/*.json"):
      tidy(filename)
  
  # vim: expandtab
  
new_contents: #!/usr/bin/env python3
  import json
  import glob
  
  # format the json files
  
  def tidy(filename):
      with open(filename) as fh:
          data = json.load(fh)
      with open(filename, 'w') as fh:
          json.dump(data, fh, sort_keys=True, indent=4, separators=(',', ': '), ensure_ascii=False)
  
  for filename in glob.glob("data/*.json"):
      tidy(filename)
  
  for filename in glob.glob("data/podcasts/*.json"):
      tidy(filename)
  
  for filename in glob.glob("data/events/*.json"):
      tidy(filename)
  
  for filename in glob.glob("data/videos/*/*.json"):
      tidy(filename)
  
  for filename in glob.glob("data/people/*.json"):
      tidy(filename)
  
  # vim: expandtab
  
subject: tidy the people files as well