Add regression TestJsonGetPathType()