Serialize inventories with one line... like a boss