resilientService: Add XML marshaler

Add initial XML marshaler for the webservice.