[JBMAR-168] Let sensitive classes control their own serialization