Koa middleware for validating JSON Web Tokens