code: public String makeRequestCtx(RequestCtx reqCtx) {
          ByteArrayOutputStream request = new ByteArrayOutputStream();
          reqCtx.encode(request, new Indenter());
          return new String(request.toByteArray());
      }
docs: Converts a RequestCtx object to its string representation.
  
  @param reqCtx
  the RequestCtx object
  @return the String representation of the RequestCtx object