change format and content-type in header