Special characters returned from ipstack causes the script to fail.
ip: ""
hostname: ""
type: "ipv4"
continent_code: "AS"
continent_name: "Asia"
country_code: "SA"
country_name: "Saudi Arabia"
region_code: "01"
region_name: "Ar Riyāḑ"
city: "Riyadh"
zip: null
latitude: 24.6537
longitude: 46.7152