code: public void writeCreateMBean(OutputStream out, CreateMBean value) throws IOException {
          writeStartObject(out);
          writeStringField(out, OM_CLASSNAME, value.className);
          writeObjectNameField(out, OM_OBJECTNAME, value.objectName);
          writeObjectNameField(out, OM_LOADERNAME, value.loaderName);
          writePOJOArrayField(out, OM_PARAMS, value.params);
          writeStringArrayField(out, OM_SIGNATURE, value.signature);
          writeBooleanField(out, OM_USELOADER, value.useLoader);
          writeBooleanField(out, OM_USESIGNATURE, value.useSignature);
          writeEndObject(out);
      }
docs: Encode a CreateMBean instance as JSON:
  {
  "className" : String,
  "objectName" : ObjectName,
  "loaderName" : ObjectName,
  "params" : [ POJO* ],
  "signature" : [ String* ],
  "useLoader" : Boolean,
  "useSignatue" : Boolean
  }
  
  @param out The stream to write JSON to
  @param value The CreateMBean instance to encode. Can't be null.
  @throws IOException If an I/O error occurs
  @see #readCreateMBean(InputStream)