pub fn save_bundle(bundle: &Value, path: &Path) -> Result<(), String>
Write a result bundle as JSON, creating parent directories as needed.