supporting custom configuration to freemarker template