docs: def serializeInstitution(self):
          """
          This method creates a fixture for the "django-tethne_citation_institution" model.
  
          Returns
          -------
          institution details which can be written to a file
  
          """
          institution_data = []
          institution_instance_data = []
          affiliation_data = []
          affiliation_id = tethnedao.getMaxAffiliationID()
          institution_id = tethnedao.getMaxInstitutionID()
          institution_instance_id = tethnedao.getMaxInstitutionInstanceID()
  
          for paper in self.corpus:
              if hasattr(paper, 'authorAddress'):
                  paper_key = getattr(paper, Serialize.paper_source_map[self.source])
                  if type(paper.authorAddress) is unicode:
                      institution_id += 1
                      institution_instance_id += 1
                      institute_literal, authors = SerializeUtility.get_auth_inst(paper.authorAddress)
                      institute_row, institute_instance_row = self.get_details_from_inst_literal(institute_literal,
                                                                                                 institution_id,
                                                                                                 institution_instance_id,
                                                                                                 paper_key)
                      if institute_row:
                          institution_data.append(institute_row)
                      institution_instance_data.append(institute_instance_row)
                      if authors:
                          for author in authors:
                              affiliation_id += 1
                              affiliation_row = self.get_affiliation_details(author, affiliation_id, institute_literal)
                              affiliation_data.append(affiliation_row)
  
                  elif type(paper.authorAddress) is list:
                      for address in paper.authorAddress:
                          institution_id += 1
                          institution_instance_id += 1
                          institute_literal, authors = SerializeUtility.get_auth_inst(address)
                          institute_row, institute_instance_row = self.get_details_from_inst_literal(institute_literal,
                                                                                                     institution_id,
                                                                                                     institution_instance_id,
                                                                                                     paper_key)
                          if institute_row:
                              institution_data.append(institute_row)
                          institution_instance_data.append(institute_instance_row)
                          if authors is None:
                              authors = prevAuthors
                          for author in authors:
                              affiliation_id += 1
                              affiliation_row = self.get_affiliation_details(author, affiliation_id, institute_literal)
                              affiliation_data.append(affiliation_row)
                          prevAuthors = authors
          return institution_data, institution_instance_data, affiliation_data