Koa Middleware for handling branching routes based on property in Context
Essential io types using io-ts