making bean validation optional (in code, not in deps)