An initial solution to store GeometryData objects to file has been implemented in T19208, handling only one single Geometry3D.
Working with objects that contain multiple Geometry3D objects (3D+t geometries) lead to an enhancement of the I/O capabilities for GeometryData.
Along with an updated implementation, I added a test case corresponding to the new feature to mitkGeometryDataIOTest.cpp.