pub fn to_js_vec_output<T, U>(input: Result<Vec<T>>) -> Result<Vec<U>>where
    U: From<T>,