include the implementation of ISerializable on the ResourceIdentity class