Flexible input validation and sanitization utility for node.js