move all data to json format