Convert JsonTestPath() use in json regression tests to JsonGetPathType() instead