fn extract( input: &mut BTreeMap<String, Value>, configs: &[Config]) -> Result<BTreeMap<String, String>, Error>