Change content-type header to text/plain for yaml and json files