freemarker works with spark