pub fn required_string_param( params: &Map<String, Value>, field: &'static str, ) -> Result<String, ParamsError>