Similar to #309947: Pull node handling into a separate module, the JSON functionality included in ip2cc - through which presumably a site can provide a web service - is not likely to be needed or wanted by many sites and so should go into a separate module.