generified dump method of rf