To write serialization functions in order to animate such types, you can use the following properties: