code: def fillkeys(Recs):
      
      keylist, OutRecs = [], []
      for rec in Recs:
          for key in list(rec.keys()):
              if key not in keylist:
                  keylist.append(key)
      for rec in Recs:
          for key in keylist:
              if key not in list(rec.keys()):
                  rec[key] = ""
          OutRecs.append(rec)
      return OutRecs, keylist
docs: reconciles keys of dictionaries within Recs.