main: add a command line option for dumping remote node data