map over esprima nodes conveniently