Update gather.py

Fixed a minor formatting bug when printing out a list of dicts.