code: @Override
      public void writeMessageBegin(TMessage message) throws TException {
          try {
              getCurrentWriter().writeStartObject();
              getCurrentWriter().writeFieldName("method");
              getCurrentWriter().writeString(message.name);
              getCurrentWriter().writeFieldName("type");
              TypedParser.TMESSAGE_TYPE.writeValue(getCurrentWriter(), message.type);
              getCurrentWriter().writeFieldName("seqid");
              getCurrentWriter().writeNumber(message.seqid);
              getCurrentWriter().writeFieldName("args");
          } catch (IOException e) {
              throw new TTransportException(e);
          }
      }
docs: I believe these two messages are called for a thrift service
  interface. We don't plan on storing any text objects of that
  type on disk.