Express middleware for Cartero