Add the "tree" Twig extension.
Fixe the bug of the "getParentProject" function.