fixing json format