code: def get_text(self, department, mode="raw"):
          
          row = self.context.getResultsInterpretationByDepartment(department)
          rt = RichTextValue(row.get("richtext", ""), "text/plain", "text/html")
          if mode == "output":
              return rt.output
          return rt.raw
docs: Returns the text saved for the selected department