Rough sketch of how to generate the XML-based keyterms layer