bugfix: bind the root node
do not change input value unnecessarily
bugfix, compiler handle empty collections

Also, hacky section template retrieve via regex replaced with proper parsing
parser bugfix