adds support for backwards compatibility on writing Languages using the enums and enables the DOI to work with JAXB which is required for the LegacyDataset in the registry API