Serializing an EMF model