get nodes data optimization

supersedes https://github.com/jackalope/jackalope-doctrine-dbal/pull/210
i.e. at least [here](https://github.com/jackalope/jackalope-doctrine-dbal/pull/149/files#diff-a3a0165ed79ca1ba3513ec5ecd59ec56R707)