LPS-47593 re-adding the metadata element will enforce the xsd restrictio...

...n that is must come after any dynamic-elements that have the same parent