Fix JSON FOMAT/Distribution check