specify content-type for json post requests