update 'res.send' code.

Getting a deprecation error from Expressjs with
previous usage
add correct predicate filter + comment