[{'Text': 'Error parsing input JSON: expected `,` or `]` at line 1 column 1477\nEdited point-topic-mcp/src/point_topic_mcp/core/mongodb_utils.py:\n\n```diff\n@@ -290,11 +290,15 @@\n def run_aggregation(pipeline: list, collection: str = "Operator", timeout: int = 60) -> list:\n     """Run an aggregation pipeline and return results as list of dicts.\n \n-     Efficient batch query, key for replacing N+1 individual calls.\n+    Efficient batch query, key for replacing N+1 individual calls.\n+    Supports EJSON syntax ($oid, $date, etc.) in the pipeline via EJSON.parse().\n     """\n-    js = f"EJSON.stringify(db.{collection}.aggregate({json.dumps(pipeline)}).toArray())"\n+    import json as _json\n+    pipe_json = _json.dumps(pipeline, default=str)\n+    # Use EJSON.parse so BSON types ($oid, $date, etc.) work in match conditions\n+    js = f"EJSON.stringify(db.{collection}.aggregate(EJSON.parse({_json.dumps(pipe_json)})).toArray())"\n     out = _run_mongosh(js, timeout=timeout)\n-    return json.loads(out) if out else []\n+    return _json.loads(out) if out else []\n \n \n def mongosh_available() -> bool:\n\n```'}]