pub fn node_to_json(n: &NodeRecord) -> Result<Value, String>Expand description
A NodeRecord → JSON: id/label as strings (ULID via Display for
id), scope per scope_to_json, and props per props_to_json.
Deliberately omits the embedding field — no MCP v0 tool surfaces vector
data (that’s a later concern via dedicated embedding tools).