debugging getjson.pl