Helper for editing an encrypted data bag item in JSON format