pub fn value(output: impl Serialize) -> Result<Value>
Convert a task’s output into the shared, serializable result format.