docs: def json(self):
          """Return a list of records as a JSON string. Follows the BibJSON convention."""
          return json.dumps(OrderedDict([('metadata', self.metadata), ('records', self.records.values())]))