code: function serve(req, res) {
    var responseIsArray = Array.isArray(res.entityResponse);
    util.invariant(responseIsArray, 'Response values are required.');
  
    res.json({ values: res.entityResponse });
  }
docs: Serves the value in req.entityResponse as a JSON object.