diff --git a/crypto/key.go b/crypto/key.go
index ccf284ad8d5eb000b9514274cd7e73de2b46a2ff..8e2d8553bb58f12bdb81af7e3246d385bced73fd 100644
--- a/crypto/key.go
+++ b/crypto/key.go
@@ -50,17 +50,17 @@ type plainKeyJSON struct {
 }
 
 type encryptedKeyJSONV3 struct {
-	Address string `json:"address"`
-	Crypto  cryptoJSON
-	Id      string `json:"id"`
-	Version int    `json:"version"`
+	Address string     `json:"address"`
+	Crypto  cryptoJSON `json:"crypto"`
+	Id      string     `json:"id"`
+	Version int        `json:"version"`
 }
 
 type encryptedKeyJSONV1 struct {
-	Address string `json:"address"`
-	Crypto  cryptoJSON
-	Id      string `json:"id"`
-	Version string `json:"version"`
+	Address string     `json:"address"`
+	Crypto  cryptoJSON `json:"crypto"`
+	Id      string     `json:"id"`
+	Version string     `json:"version"`
 }
 
 type cryptoJSON struct {