private void readObject(java.io.ObjectInputStream in) throws IOException, ClassNotFoundException {
    String inName = (String) in.readObject();
    String inDescription = (String) in.readObject();
    Object inValue = in.readObject();
    Class inClass = (Class) in.readObject();
    boolean inUserModifiable = in.readBoolean();

    deserialized = true;
    name = inName;
    setInternalState(inDescription, inValue, inClass, inUserModifiable);
  }
Override readObject which is used in serialization. Customize serialization of this exception
to avoid escape of InternalRole which is not Serializable.
geode-core/src/main/java/org/apache/geode/admin/jmx/internal/ConfigurationParameterJmxImpl.java