simplify closures for restify rout handlers