I haven't really delved into the specifics of serialisation too much but I think you'll find that you'd need to at least decorate the ItemData class with the Serializable attribute and, perhaps, the Items property too.