Fixes #5643: add support for environment variable through ${node.env[XXX...

...]} notation