Optimized ast.py: iterating over py2neo nodes produces extra database requests despite the fact that the data is already available in __metadata__['data'].