there are two optionsone is to find REST API that returns the data in the format your want - Drawback you may have to pay for it or if its free there is no guarantee that it will be up 24/7The other option is to write your custom servlet that will return the json of the countries in the format you w...