simplify streq; dict_set doesnt work with empty key