Get serialization of item fields correct