including xml header in all templates and adding content type to POST calls