parseFormattedLabel

@VisibleForTesting(otherwise = 2)
fun parseFormattedLabel(label: String?, map: Map<String, Pair<String, String>>): String