pub fn extract_attribute(
    data: HashMap<String, String>,
    attribute_name: &str
) -> String