tidied up ... cleared out json2map and other old useless code