Update OutputValidator.java

Prevent serialization, deserialization and cloning