docs: @Override
      public byte[] getSerializedObject() throws ObjectFailedToSerializeException {
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              SibTr.entry(this, tc, "getSerializedObject");
          byte[] bytes;
  
          if (hasRealObject && !hasSerializedRealObject) {
              // If we have a real object but it has not yet been serialized we have to serialize it into
              // the message payload.
              serializeRealObject();
          }
          // Get the bytes from the payload
          bytes = getDataFromPayload();
  
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              SibTr.exit(this, tc, "getSerializedObject");
          return bytes;
      }