changing the json format