command line tool to dump a object in the file in XML format