Change dump method name to dumpit, change logics.