Handle dump_info for hash data types

It appears that the slot_info object is sometimes an Ostruct and sometimes a hash, this is extremely unfortunate.

I'm handling both scenarios now, it's naive but better than nothing.