fixed data to json format