This method also looks the same as smart_hashdump. Any reason not to put it in the mixin?