code: def datacite_to_pif_reference(dc):
      
      ref = Reference()
      if dc.get('identifier', {}).get('identifierType') == "DOI":
          ref.doi = dc.get('identifier', {}).get('identifier')
      ref.title = dc.get('title')
      ref.publisher = dc.get('publisher')
      ref.year = dc.get('publicationYear')
  
      ref.authors = [creator_to_person(x).name for x in dc.get('creators', [])] or None
  
      return ref
docs: Parse a top-level datacite dictionary into a Reference
      :param dc: dictionary containing datacite metadata
      :return: Reference corresponding to that datacite entry