Configurable, input and output validated routing for koa