Added dump of database in JSON format.