set content type to json