fn metadata_artifact_value_from_root( metadata: &Value, key: &str, ) -> Result<String, BackupRestoreError>