Added Transformer to overwrite xml declaration

Sometimes we get xmls which encodings are declared differently from what
they really are.