set contenty type to json