token type to string