Reorganize data sets JSON