[nim, mj] Fixing wrong reference to EncryptedDataBag as hashmap