BS-2570, simplify getTokenInfo