Convert xml between different formats, without feeling dirty