JsonDiff: externalize DiffFactorizer as a package-private class