This is likely to be nasty because the Juniper could see the VPN come in from different peer IP addresses. My guess is you wont get this working.
You'll need to be able to configure the Juniper to terminate the VPN based on the subnets presented, the PSK, or something else that uniquely identifes the sites.
Assuming you can't replace the Juniper could you perhaps put a Meraki MX behind the Juniper and run it in VPN concentrator mode? Then you could use AutoVPN, and the Juniper would only need a route on it to get to the remote Meraki sites.
So much simpler and handles all the complex failover cases without any creatig any complexity.