fixed bug in insert into collections, where fromname contained characters not encoded utf-8