add json result for datasetCats and Hist to lcm