Added serialization and deserialization code for IServiceInfo instances.