moved all uthash related code into keyhash.c