JSON parser tests.