public function getResponseAsJson($assoc = true) { return json_decode($this->getResponse()->getContent(), $assoc); }