add JSON dump of history