public function getJsonResponse(array $query = array(), $assoc = true)
    {
        //argument 2 must be bool
        Argument::i()->test(2, 'bool');
        
        return json_decode($this->getResponse($query), $assoc);
    }