Hassle free middleware to validate all type of requests in a single place while respecting the principle of separation of concerns