Set content-type for json route