Actually test for the presence of JSON_* constants