def METHOD_NAME(res):
    try:
        return res.json()
    except ValueError:
        log.debug("Response has no content")
        return None
    except Exception as e:
        log.error(e)
        return None