pub fn url_format_obj<T>(base: &str, params: &T) -> Stringwhere
    T: Serialize,