Updated to check against inventory items, and to utf8 encode title/description in case they contain utf