Simplify inv_item_represent a bit for better readability.