diff --git a/cmd/puppeth/module_explorer.go b/cmd/puppeth/module_explorer.go
index 819f356c3edf19ee7542b879fcb2f31018b5e15b..99a9e9df87b345b7a0250c4beb0ad46a3787a0c9 100644
--- a/cmd/puppeth/module_explorer.go
+++ b/cmd/puppeth/module_explorer.go
@@ -130,7 +130,7 @@ func deployExplorer(client *sshClient, network string, chainspec []byte, config
 	})
 	files[filepath.Join(workdir, "docker-compose.yaml")] = composefile.Bytes()
 
-	files[filepath.Join(workdir, "chain.json")] = []byte(chainspec)
+	files[filepath.Join(workdir, "chain.json")] = chainspec
 
 	// Upload the deployment files to the remote server (and clean up afterwards)
 	if out, err := client.Upload(files); err != nil {
diff --git a/cmd/puppeth/module_wallet.go b/cmd/puppeth/module_wallet.go
index 78dc1ef513ab539f39f163957b247ed2d280aea3..5ab8d2de1e2582cadc4cb075d4e88f5efa7f4873 100644
--- a/cmd/puppeth/module_wallet.go
+++ b/cmd/puppeth/module_wallet.go
@@ -110,7 +110,7 @@ func deployWallet(client *sshClient, network string, bootnodes []string, config
 	})
 	files[filepath.Join(workdir, "docker-compose.yaml")] = composefile.Bytes()
 
-	files[filepath.Join(workdir, "genesis.json")] = []byte(config.genesis)
+	files[filepath.Join(workdir, "genesis.json")] = config.genesis
 
 	// Upload the deployment files to the remote server (and clean up afterwards)
 	if out, err := client.Upload(files); err != nil {