I want to quickly share the json file I've created for GeoLocaleSwitcher plugin, it may be of use for you in your project.
DOWNLOAD LOCALE TO COUNTRY JSON
It's a simple JSON with "locale": "country" structure.
Here is the "other way round" JSON ("country": "locale"):
DOWNLOAD COUNTRY TO LOCALE JSON