Easy implementation of 'dumpconfig'