pub fn convert_opt_map<A: Hash + Eq, T, U>(
    v: Option<HashMap<A, T>>
) -> Option<HashMap<A, U>>where
    U: From<T>,