Extracts the senza cli output from the response

def get_output(cls, response: requests.Response) -> str:
        """
        Extracts the senza cli output from the response
        """
        output = response.headers['X-Lizzy-Output']  # type: str
        output = output.replace('\\n', '\n')  # unescape new lines
        lines = ('[AGENT] {}'.format(line) for line in output.splitlines())
        return '\n'.join(lines)