complete serialization of metadata model into XML