docs: public static String serialize(Method method, Object data) throws SerializationException {
  
          String result = RPC.encodeResponseForSuccess(method, data, CmsPrefetchSerializationPolicy.instance());
          result = CmsEncoder.escapeXml(result, true);
          return result;
      }