removed _get_cookie_json