Support JSON tests.