converted dict to utf8 and removed all collisions