Finding Country from Lat, Lon using

I am using the integration with Google Maps - the Googlemaps device locator successfully to return Lat and Lon. I am looking for a simple way to turn the Lat, Lon into a country name or to get the country name directly from the same google api. Looking about I see that calling curl,-1.000000&sensor=true will return a whole load of JSON which includes the country - in this case United Kingdom. Any ideas for better or simpler ways or has someone written a library function?

Let me ping someone that might be able to help, @rickkas7 or @ParticleD are you able to assist?