Update json to be encrypted version