[driver] Add a dump method for ArgList.