Conversion to better inventory serialization.