update get_layers and get_node_set so the namespace is provided more reasonably