Fixing JSON error.