REST API for MaxMind GeoLite2 using PHP and JSON