Switch from res.send() to res.json() in route handlers
Add custom error handling middleware, mostly for bodyParser