fix use JSON in testplanner.pl