Performance statistics: add JSON file storage support.