set content type on json