util: use safe variant or xml_marshaller

Also change places where xml_marshaller were used directly to always use
the wrapper from utils (except in tests for simplicity)
11 jobs for fix/xml_marshaller_safe
in 0 seconds, using 0 compute credits, and was queued for 0 seconds