BACKLOG-4478 : fix in QueryHelper when getting rootpath, use node path for lazy properties instead of whole externalData, added javadoc.