Add support for maps as template vars