[check_glance-image.sh] Change token_id parsing with pyton json