Added JSON formatting test.