pub fn extract(input: &str, actions: &HashMap<&str, Action>) -> Value