Fixing json syntax error