Added sensible string conversion for hashes