updated default dump method