Fix [enums]: added the possibility to nest nodes in enum node