code: public String makeResponseCtx(ResponseCtx resCtx) {
          ByteArrayOutputStream response = new ByteArrayOutputStream();
          resCtx.encode(response, new Indenter());
          return new String(response.toByteArray());
      }
docs: Converst a ResponseCtx object to its string representation.
  
  @param resCtx
  the ResponseCtx object
  @return the String representation of the ResponseCtx object