Very simple Express middleware to validate stuff.