isJson() is now a public static method (useful for Condorcet API)