Spark and FreeMarker together