def _entity_to_node_properties(self, entity: ChunkEntity) -> dict:
        """Convert a ChunkEntity to Neo4j-compatible node properties."""
        # Get the basic serialized properties
        properties = entity.to_storage_dict()

        # Handle special fields like breadcrumbs for Neo4j
        if "breadcrumbs" in properties and isinstance(properties["breadcrumbs"], list):
            # Either serialize breadcrumbs to JSON string
            properties["breadcrumbs"] = json.dumps(properties["breadcrumbs"])
            # OR extract the most important properties from breadcrumbs
            # and store them as separate properties

        return properties
Convert a ChunkEntity to Neo4j-compatible node properties.
backend/airweave/platform/destinations/_base.py