get_hash returned a dict unexpectedly; get the hash value from it