pub fn save_json_to_temp_file(json: &Value) -> Result<String>
Save JSON to a temporary file that persists for testing Returns the path to the temporary file