Add a `res.json` method to node.js `http.ServerResponse` objects