fn fetch_field( map: &HashMap<String, String>, key: &str, ) -> Result<String, String>
Fetch a field from a hashmap