Added ModelData serialization