Fixing JSON syntax errors.