Moved to req.param and res.json