Convert country names and codes to a standard.