improve `dump`