Fix Maxmind result encoding