pub fn apply_patch( kind: &str, manager: &str, live: Option<&Value>, applied: &Value, ) -> Result<Value, String>