serialize the stock_items. i.e. Inventory