changing dict to using unicode conversion to match with some encoding issues