def METHOD_NAME(
    self,
    file_path: Optional[Path] = None,
    tmp_dir: Any = None,
) -> JSON:
    matrix = self.parse_dataframe(file_path, tmp_dir)
    return cast(JSON, matrix.to_dict(orient="split"))