Express middleware built with dirac