code: protected String getSerializedPublishData(CmsPublishData data) {
  
          try {
              String prefetchedData = RPC.encodeResponseForSuccess(
                  I_CmsPublishService.class.getMethod("getInitData", java.util.HashMap.class),
                  data,
                  CmsPrefetchSerializationPolicy.instance());
              return prefetchedData;
          } catch (Exception e) {
              LOG.error(e.getLocalizedMessage(), e);
              return null;
          }
      }
docs: Serializes a CmsPublishData object into string form using the GWT serialization.<p>
  
  @param data the publish data
  
  @return the serialized publish data