set content-type in viewresolver