fixing json syntax