Express middleware dependency simplifier