Add in mechanisms for generating orm.xml from domgen metadata