Multiple VM in single json file

I created one VM on vcenter according to the following hashicorp json file:

{
  "vm_name": "myvm",
  "vm_template_name": "my_tem",
  "vm_guest_id": "ubuntu64Guest",
  "vsphere_vcenter_ip": "192.168.118.14",
  "vsphere_username": "user",
  "vsphere_password": "pass",
  "vm_static_ipv4_address": "192.168.1.234",
  "ipv4_gateway": "192.168.118.1",
  "ipv4_netmask": "24",
  "vm_username": "root",
  "vm_password": "passs"
}

Now I want to import my vm json files into a single json file.
Please help me to create a json format with multiple VM.
Thank you before any help.

{
"vm1":
{
  "vm_name": "myvm",
  "vm_template_name": "my_tem",
  "vm_guest_id": "ubuntu64Guest",
  "vsphere_vcenter_ip": "192.168.118.14",
  "vsphere_username": "user",
  "vsphere_password": "pass",
  "vm_static_ipv4_address": "192.168.1.234",
  "ipv4_gateway": "192.168.118.1",
  "ipv4_netmask": "24",
  "vm_username": "root",
  "vm_password": "passs"
},
"vm2":
{
  "vm_name": "myvm2",
  "vm_template_name": "my_tem",
  "vm_guest_id": "ubuntu64Guest",
  "vsphere_vcenter_ip": "192.168.118.14",
  "vsphere_username": "user",
  "vsphere_password": "pass",
  "vm_static_ipv4_address": "192.168.1.234",
  "ipv4_gateway": "192.168.118.1",
  "ipv4_netmask": "24",
  "vm_username": "root",
  "vm_password": "passs"
}

}

I get the Variables json is invalid.

the beginning { was somehow eaten be the formatter.