convert token to string