Dumping data to json files too