Place environment into proper level in deployment JSON