Error in Using output_json

I have 2 agents and 2 tasks. The first agent searches and scrapes a few articles. Then the 2nd agent reformats them.
I tried an experiment and had the 1st agent not use output_json but I did give it a structured schema in expected_output. Meanwhile the 2nd agent did have output=json. This works fine. the 2nd agent picks up the somewhat structured output from the first ages and reformats it slightly and outputs json.

Since that worked I then tried to set the output_json for the 1st ages so both of them would be outputting json. I used almost the same elements in the schema for the 1st agent as I did for the 2nd, but it errs out.
Below are the 2 schemas ( there is the article format then the class for the list of articles) for each agent. The name of the output files and output_format: json is in the yaml file.
Finally the error. Any help much appreciated. I am a complete novice at python.

class ResearchArticle(BaseModel):
title: str = Field(…, description=“The title of the article.”)
url: str = Field(…, description=“The URL of the article.”)
published_date: str = Field(…, format=“MM/YYYY”, description=“The publication date of the article using the format MM/YYYY.”)
author: List[str] = Field(…, description=“An author of the article.”)
text: str = Field(…, description=“The full text of the abstract that was scraped from the article and passed to you as context.”)
doi: Optional[str] = None # DOI may not always be available

class ResearchArticleList(BaseModel):
root: List[ResearchArticle]

#here is the schema for the 2nd agent

class ResearchReport(BaseModel):
Title: str = Field(…, description=“The title of the article.”)
URL: str = Field(…, description=“The URL of the article.”)
Author: List[str] = Field(…, description=“An author of the article.”)
Published_Date: str = Field(…, format=“MM/YYYY”, description=“The publication date of the article using the format MM/YYYY.”)
Methodology: str = Field(…, description=“The methods or procedures used in the experiment in the article in great DETAIL.”)
Drug: str = Field(…, description=“The specific drug tested in the article.”)
Dosage: str = Field(…, description=“The dosage amount and frequency of the drug used in the article.”)
Results: str = Field(…, description=“The results or outcome of the experiment in the article in great DETAIL.”)
Text: str = Field(…, description=“The full text of the abstract that was scraped from the article and passed to you as context.”)

class ResearchReportList(BaseModel):
root: List[ResearchReport]

#here are the task references to the schemas

@task
def research_task(self) → Task:
return Task(
config=self.tasks_config[‘research_task’],
output_json=ResearchArticleList
)

@task
def reporting_task(self) -> Task:
    return Task(
        config=self.tasks_config['reporting_task'],
        output_json=ResearchReportList
    )

Lastly here is the tail of the error

return handle_partial_json(
^^^^^^^^^^^^^^^^^^^^
File “/Users/ai/anaconda3/envs/crewaitestbed/lib/python3.11/site-packages/crewai/utilities/converter.py”, line 151, in handle_partial_json
return convert_with_instructions(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/Users/ai/anaconda3/envs/crewaitestbed/lib/python3.11/site-packages/crewai/utilities/converter.py”, line 164, in convert_with_instructions
instructions = get_conversion_instructions(model, llm)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/Users/ai/anaconda3/envs/crewaitestbed/lib/python3.11/site-packages/crewai/utilities/converter.py”, line 190, in get_conversion_instructions
model_schema = PydanticSchemaParser(model=model).get_schema()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/Users/ai/anaconda3/envs/crewaitestbed/lib/python3.11/site-packages/crewai/utilities/pydantic_schema_parser.py”, line 16, in get_schema
return self._get_model_schema(self.model)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/Users/ai/anaconda3/envs/crewaitestbed/lib/python3.11/site-packages/crewai/utilities/pydantic_schema_parser.py”, line 22, in _get_model_schema
field_type_str = self._get_field_type(field, depth + 1)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/Users/ai/anaconda3/envs/crewaitestbed/lib/python3.11/site-packages/crewai/utilities/pydantic_schema_parser.py”, line 39, in _get_field_type
elif issubclass(field_type, BaseModel):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “”, line 123, in subclasscheck
TypeError: issubclass() arg 1 must be a class