https://github.com/pixcc/ydb/blob/main/ydb/core/viewer/json_nodes.h#L394
It seems that checking for zero is not enough to check the root and the handle may go into a loop
need to check in the viewer to PathId == RootPathId (=1); and that Path is the first segment of the path