Improved UTF8 support and JSON encoding

* Set GeoIP DB to return UTF8 data
* Encode  UTF8 strings better for ES
* User utf8 to lower instead of ascii to lower