Clean-up environment
Symbolize keys in templates