@staticmethod
def log_response(response):
    """
        renders response as json or as a string
        """
    try:
        log_body = response.json()
    except ValueError:
        log_body = response.content[:30]
    return log_body
