Fix res.json arg order for error case