Fix item_to_text helper