Comprehensive recursive validator for objects, arrays, strings and more