metadataLocations.add(new JavaLangMetadataSource());
metadataLocations.add(new JavaMathMetadataSource());
metadataLocations.add(new JavaUtilMetadataSource());
metadataLocations.add(new LinkV2MetadataSource());
metadataLocations.add(new ItemLinksMetadataSource());
metadataLocations.add(new ErrorResponseMetadataSource());
properties.put(JAXBContextProperties.OXM_METADATA_SOURCE, metadataLocations);
properties.put(JAXBContextProperties.SESSION_EVENT_LISTENER, new PreLoginMappingAdapter((AbstractSession) session));
// Bug 410095 - JSON_WRAPPER_AS_ARRAY_NAME property doesn't work when jaxb context is created using DynamicJAXBContextFactory