def get_response_json(response):
    """
    Safe loads JSON response. If response is not json serialized - return it
    as content key.

    :param response: response
    :type response: requests response object
    :returns: dict -- dictionary with loaded json response
    """
    try:
        response_json = response.json()
    except ValueError:
        response_json = {'content': response.content}
    response_json.update({'status_code': response.status_code, 'ok':
        response.ok})
    return response_json
