[Glance] Parse json format to get token