public function getBody()
    {
        $body = json_decode($this->response->getBody(), true);

        if (!$body) {
            throw new ResponseWithoutBody('Response without body');
        }

        if (!$this->transformer) {
            return $body;
        }

        return $this->transformer->transformData($body);
    }