Support for dumping graph stats using JSON format