set content-type to text/plain on on json responses