Save a deployment as an ARM template