code: def _get_source(self, data):
          
          if self.record_format == 'csl':
              return CiteProcJSON([json.loads(data)])
          elif self.record_format == 'bibtex':
              return BibTeX(data)
docs: Get source data object for citeproc-py.