allow to iterate over matches, not only spans and output ARFF header
handle first match correctly
use streaming method also in the service
handle the case that a span is matched several times in each match