set content type as json