Performance test for JSON dumping