when user selects country the json written to the text view