fixing json data