add support for tokens in nodes