code: @Override
      public byte[] export(String pid, String format, String context) {
          assertInitialized();
          try {
              MessageContext ctx =
                      FedoraAPIMImpl.this.context.getMessageContext();
              StreamingOutput so = m_management.stream(ReadOnlyContext.getSoapContext(ctx),
                                          pid,
                                          format,
                                          context,
                                          "UTF-8");
              ByteArrayOutputStream out = new ByteArrayOutputStream(2048);
              so.write(out);
              return out.toByteArray();
          } catch (Throwable th) {
              LOG.error("Error exporting object", th);
              throw CXFUtility.getFault(th);
          }
      }
docs: /*
  (non-Javadoc)
  @see org.fcrepo.server.management.FedoraAPIMMTOM#export(String pid
  ,)String format ,)String context )*