pub fn object_names(obj: &Object) -> Result<(String, String), Error>