Add or update properties of a JSON file.