dht reading fixups and type handling