Fix inventory serialization for real this time