code: public function render()
      {
          if (self::API_V1 == $this->agentVersion) {
              return $this->renderV1();
          } elseif (self::API_V2 == $this->agentVersion) {
              return $this->renderV2();
          } else {
              throw new RuntimeException('Invalid agent version');
          }
      }
docs: Render response as array.
  
  @return array