Fixing json format