Updated library check routine for json. ip address comparison now using a more accurate method