res.json unnecessary