Add XmlHalSerializer, extend embed config, use jms metadata for xml element name

And some other minor stuff