Convert env variables to caps to adopt the juju pattern of envs