module.exports = function(app) {

  app.get('/jedi/:firstname/:lastname', function(req, res) {

    var firstName = req.params.firstname;
    var lastName = req.params.lastname;

    var firstThree = function(name) {

      return name.slice(0, 3);
    }

    res.send('Hello ' + firstThree(firstName) + firstThree(lastName));
  });

};

@@ -261,13 +261,30 @@
 res.
-send(
+json(%7B%0A      message: 
 'Hel
@@ -334,16 +334,22 @@
 astName)
+%0A    %7D
 );%0A  %7D);

Send greeting as json.