code: public void serializeStatusObject(IoBuffer out, StatusObject statusObject) {
          Map<?, ?> statusMap = new BeanMap(statusObject);
          Output output = new Output(out);
          Serializer.serialize(output, statusMap);
      }
docs: Serializes status object
  
  @param out
  Byte buffer for output object
  @param statusObject
  Status object to serialize