Move some helpers functions to parser/common as they are used for parsing input
Change get_nodes_list to be usable without site and add site in nodes_list_from_info
Rename for external usage