[FIXED JENKINS-18004] add support for TokenMacros