Adding support for subnode-list cmd