use VSILFILE, add json support for percentile quality