docs: public static ResponseSerializer getResponseSerializer(ResponseHeader header, Response response) throws JsonGenerationException, JsonMappingException, IOException{
          final String s = serializeResponse(header, response);
          return new ResponseSerializer(){
  
              @Override
              public String searializerAsString() {
                  return s;
              }
  
          };
      }