Importing WformServices and GlemmServices

Change-Id: Ifa95576d69e0d3863f63d3fdedb48c2c21cf64bc
diff --git a/Project-Tests/GlemmServices.log b/Project-Tests/GlemmServices.log
new file mode 100644
index 0000000..72fee53
--- /dev/null
+++ b/Project-Tests/GlemmServices.log
@@ -0,0 +1,908 @@
+Debug: doPOST_handleWordformQueries: version date: 04.04.20.
+Debug: doPOST_handleWordformQueries: starting time: 2020-05-15T18:39:50.618.
+Debug: doPOST_handleWordformQueries: query = '{
+  "@context" : "http://korap.ids-mannheim.de/ns/KoralQuery/v0.3/context.jsonld",
+  "collection" : {
+    "@type" : "koral:docGroup",
+    "operands" : [ {
+      "@type" : "koral:doc",
+      "key" : "availability",
+      "match" : "match:eq",
+      "type" : "type:regex",
+      "value" : "CC-BY.*"
+    }, {
+      "@type" : "koral:docGroup",
+      "operands" : [ {
+        "@type" : "koral:doc",
+        "key" : "availability",
+        "match" : "match:eq",
+        "type" : "type:regex",
+        "value" : "CC-BY.*"
+      }, {
+        "@type" : "koral:docGroup",
+        "operands" : [ {
+          "@type" : "koral:doc",
+          "key" : "availability",
+          "match" : "match:eq",
+          "type" : "type:regex",
+          "value" : "ACA.*"
+        }, {
+          "@type" : "koral:docGroup",
+          "operands" : [ {
+            "@type" : "koral:doc",
+            "key" : "availability",
+            "match" : "match:eq",
+            "type" : "type:regex",
+            "value" : "QAO-NC"
+          }, {
+            "@type" : "koral:doc",
+            "key" : "availability",
+            "match" : "match:eq",
+            "type" : "type:regex",
+            "value" : "QAO.*"
+          } ],
+          "operation" : "operation:or"
+        } ],
+        "operation" : "operation:or"
+      } ],
+      "operation" : "operation:or"
+    } ],
+    "operation" : "operation:and",
+    "rewrites" : [ {
+      "@type" : "koral:rewrite",
+      "operation" : "operation:insertion",
+      "scope" : "availability(FREE)",
+      "src" : "Kustvakt"
+    } ]
+  },
+  "matches" : [ "..." ],
+  "meta" : {
+    "benchmark" : "5.08010068 s",
+    "context" : {
+      "left" : [ "token", 40 ],
+      "right" : [ "token", 40 ]
+    },
+    "count" : 25,
+    "cutOff" : true,
+    "fields" : [ "ID", "UID", "textSigle", "corpusID", "author", "title", "subTitle", "textClass", "pubPlace", "pubDate", "availability", "layerInfos", "docSigle", "corpusSigle" ],
+    "itemsPerPage" : 25,
+    "serialQuery" : "spanDistance({129: spanNext(spanNext(tokens:tt/l:rennen, tokens:tt/l:schlafen), tokens:tt/l:laufen)}, {129: tokens:tt/l:kaufen}, [(w[0:2], notOrdered, notExcluded)])",
+    "startIndex" : 0,
+    "timeout" : 10000,
+    "totalResults" : -1,
+    "version" : "0.59.1"
+  },
+  "query" : {
+    "@type" : "koral:group",
+    "distances" : [ {
+      "@type" : "cosmas:distance",
+      "boundary" : {
+        "@type" : "koral:boundary",
+        "max" : 2,
+        "min" : 0
+      },
+      "key" : "w"
+    } ],
+    "inOrder" : false,
+    "operands" : [ {
+      "@type" : "koral:group",
+      "classOut" : 129,
+      "operands" : [ {
+        "@type" : "koral:group",
+        "operands" : [ {
+          "@type" : "koral:token",
+          "wrap" : {
+            "@type" : "koral:term",
+            "foundry" : "tt",
+            "key" : "GF>2&rennen",
+            "layer" : "lemma",
+            "match" : "match:eq",
+            "rewrites" : [ {
+              "@type" : "koral:rewrite",
+              "operation" : "operation:injection",
+              "scope" : "foundry",
+              "src" : "Kustvakt"
+            } ]
+          }
+        }, {
+          "@type" : "koral:token",
+          "wrap" : {
+            "@type" : "koral:term",
+            "foundry" : "tt",
+            "key" : "schlafen",
+            "layer" : "lemma",
+            "match" : "match:eq",
+            "rewrites" : [ {
+              "@type" : "koral:rewrite",
+              "operation" : "operation:injection",
+              "scope" : "foundry",
+              "src" : "Kustvakt"
+            } ]
+          }
+        }, {
+          "@type" : "koral:token",
+          "wrap" : {
+            "@type" : "koral:term",
+            "foundry" : "tt",
+            "key" : "laufen",
+            "layer" : "lemma",
+            "match" : "match:eq",
+            "rewrites" : [ {
+              "@type" : "koral:rewrite",
+              "operation" : "operation:injection",
+              "scope" : "foundry",
+              "src" : "Kustvakt"
+            } ]
+          }
+        } ],
+        "operation" : "operation:sequence"
+      } ],
+      "operation" : "operation:class"
+    }, {
+      "@type" : "koral:group",
+      "classOut" : 129,
+      "operands" : [ {
+        "@type" : "koral:token",
+        "wrap" : {
+          "@type" : "koral:term",
+          "foundry" : "tt",
+          "key" : "kaufen",
+          "layer" : "lemma",
+          "match" : "match:eq",
+          "rewrites" : [ {
+            "@type" : "koral:rewrite",
+            "operation" : "operation:injection",
+            "scope" : "foundry",
+            "src" : "Kustvakt"
+          } ]
+        }
+      } ],
+      "operation" : "operation:class"
+    } ],
+    "operation" : "operation:sequence"
+  }
+}'.
+Debug: traverse_and_rewrite_KoralQuery: ready for traversing query...
+Debug:traverseJsonTree: object: { 
+Debug:traverseJsonTree: key='@context':
+Debug:traverseJsonTree: single value field = 'http://korap.ids-mannheim.de/ns/KoralQuery/v0.3/context.jsonld'
+Debug:traverseJsonTree: key='collection':
+Debug:traverseJsonTree: object: { 
+Debug:traverseJsonTree: key='@type':
+Debug:traverseJsonTree: single value field = 'koral:docGroup'
+Debug:traverseJsonTree: key='operands':
+Debug:traverseJsonTree: array: [
+Debug:traverseJsonTree: object: { 
+Debug:traverseJsonTree: key='@type':
+Debug:traverseJsonTree: single value field = 'koral:doc'
+Debug:traverseJsonTree: key='key':
+Debug:traverseJsonTree: single value field = 'availability'
+Debug:traverseJsonTree: key='match':
+Debug:traverseJsonTree: single value field = 'match:eq'
+Debug:traverseJsonTree: key='type':
+Debug:traverseJsonTree: single value field = 'type:regex'
+Debug:traverseJsonTree: key='value':
+Debug:traverseJsonTree: single value field = 'CC-BY.*'
+Debug:traverseJsonTree: } : end of object.
+Debug:traverseJsonTree: object: { 
+Debug:traverseJsonTree: key='@type':
+Debug:traverseJsonTree: single value field = 'koral:docGroup'
+Debug:traverseJsonTree: key='operands':
+Debug:traverseJsonTree: array: [
+Debug:traverseJsonTree: object: { 
+Debug:traverseJsonTree: key='@type':
+Debug:traverseJsonTree: single value field = 'koral:doc'
+Debug:traverseJsonTree: key='key':
+Debug:traverseJsonTree: single value field = 'availability'
+Debug:traverseJsonTree: key='match':
+Debug:traverseJsonTree: single value field = 'match:eq'
+Debug:traverseJsonTree: key='type':
+Debug:traverseJsonTree: single value field = 'type:regex'
+Debug:traverseJsonTree: key='value':
+Debug:traverseJsonTree: single value field = 'CC-BY.*'
+Debug:traverseJsonTree: } : end of object.
+Debug:traverseJsonTree: object: { 
+Debug:traverseJsonTree: key='@type':
+Debug:traverseJsonTree: single value field = 'koral:docGroup'
+Debug:traverseJsonTree: key='operands':
+Debug:traverseJsonTree: array: [
+Debug:traverseJsonTree: object: { 
+Debug:traverseJsonTree: key='@type':
+Debug:traverseJsonTree: single value field = 'koral:doc'
+Debug:traverseJsonTree: key='key':
+Debug:traverseJsonTree: single value field = 'availability'
+Debug:traverseJsonTree: key='match':
+Debug:traverseJsonTree: single value field = 'match:eq'
+Debug:traverseJsonTree: key='type':
+Debug:traverseJsonTree: single value field = 'type:regex'
+Debug:traverseJsonTree: key='value':
+Debug:traverseJsonTree: single value field = 'ACA.*'
+Debug:traverseJsonTree: } : end of object.
+Debug:traverseJsonTree: object: { 
+Debug:traverseJsonTree: key='@type':
+Debug:traverseJsonTree: single value field = 'koral:docGroup'
+Debug:traverseJsonTree: key='operands':
+Debug:traverseJsonTree: array: [
+Debug:traverseJsonTree: object: { 
+Debug:traverseJsonTree: key='@type':
+Debug:traverseJsonTree: single value field = 'koral:doc'
+Debug:traverseJsonTree: key='key':
+Debug:traverseJsonTree: single value field = 'availability'
+Debug:traverseJsonTree: key='match':
+Debug:traverseJsonTree: single value field = 'match:eq'
+Debug:traverseJsonTree: key='type':
+Debug:traverseJsonTree: single value field = 'type:regex'
+Debug:traverseJsonTree: key='value':
+Debug:traverseJsonTree: single value field = 'QAO-NC'
+Debug:traverseJsonTree: } : end of object.
+Debug:traverseJsonTree: object: { 
+Debug:traverseJsonTree: key='@type':
+Debug:traverseJsonTree: single value field = 'koral:doc'
+Debug:traverseJsonTree: key='key':
+Debug:traverseJsonTree: single value field = 'availability'
+Debug:traverseJsonTree: key='match':
+Debug:traverseJsonTree: single value field = 'match:eq'
+Debug:traverseJsonTree: key='type':
+Debug:traverseJsonTree: single value field = 'type:regex'
+Debug:traverseJsonTree: key='value':
+Debug:traverseJsonTree: single value field = 'QAO.*'
+Debug:traverseJsonTree: } : end of object.
+Debug:traverseJsonTree: ] end of array.
+Debug:traverseJsonTree: key='operation':
+Debug:traverseJsonTree: single value field = 'operation:or'
+Debug:traverseJsonTree: } : end of object.
+Debug:traverseJsonTree: ] end of array.
+Debug:traverseJsonTree: key='operation':
+Debug:traverseJsonTree: single value field = 'operation:or'
+Debug:traverseJsonTree: } : end of object.
+Debug:traverseJsonTree: ] end of array.
+Debug:traverseJsonTree: key='operation':
+Debug:traverseJsonTree: single value field = 'operation:or'
+Debug:traverseJsonTree: } : end of object.
+Debug:traverseJsonTree: ] end of array.
+Debug:traverseJsonTree: key='operation':
+Debug:traverseJsonTree: single value field = 'operation:and'
+Debug:traverseJsonTree: key='rewrites':
+Debug:traverseJsonTree: array: [
+Debug:traverseJsonTree: object: { 
+Debug:traverseJsonTree: key='@type':
+Debug:traverseJsonTree: single value field = 'koral:rewrite'
+Debug:traverseJsonTree: key='operation':
+Debug:traverseJsonTree: single value field = 'operation:insertion'
+Debug:traverseJsonTree: key='scope':
+Debug:traverseJsonTree: single value field = 'availability(FREE)'
+Debug:traverseJsonTree: key='src':
+Debug:traverseJsonTree: single value field = 'Kustvakt'
+Debug:traverseJsonTree: } : end of object.
+Debug:traverseJsonTree: ] end of array.
+Debug:traverseJsonTree: } : end of object.
+Debug:traverseJsonTree: key='matches':
+Debug:traverseJsonTree: array: [
+Debug:traverseJsonTree: single value field = '...'
+Debug:traverseJsonTree: ] end of array.
+Debug:traverseJsonTree: key='meta':
+Debug:traverseJsonTree: object: { 
+Debug:traverseJsonTree: key='benchmark':
+Debug:traverseJsonTree: single value field = '5.08010068 s'
+Debug:traverseJsonTree: key='context':
+Debug:traverseJsonTree: object: { 
+Debug:traverseJsonTree: key='left':
+Debug:traverseJsonTree: array: [
+Debug:traverseJsonTree: single value field = 'token'
+Debug:traverseJsonTree: single value field = '40'
+Debug:traverseJsonTree: ] end of array.
+Debug:traverseJsonTree: key='right':
+Debug:traverseJsonTree: array: [
+Debug:traverseJsonTree: single value field = 'token'
+Debug:traverseJsonTree: single value field = '40'
+Debug:traverseJsonTree: ] end of array.
+Debug:traverseJsonTree: } : end of object.
+Debug:traverseJsonTree: key='count':
+Debug:traverseJsonTree: single value field = '25'
+Debug:traverseJsonTree: key='cutOff':
+Debug:traverseJsonTree: single value field = 'true'
+Debug:traverseJsonTree: key='fields':
+Debug:traverseJsonTree: array: [
+Debug:traverseJsonTree: single value field = 'ID'
+Debug:traverseJsonTree: single value field = 'UID'
+Debug:traverseJsonTree: single value field = 'textSigle'
+Debug:traverseJsonTree: single value field = 'corpusID'
+Debug:traverseJsonTree: single value field = 'author'
+Debug:traverseJsonTree: single value field = 'title'
+Debug:traverseJsonTree: single value field = 'subTitle'
+Debug:traverseJsonTree: single value field = 'textClass'
+Debug:traverseJsonTree: single value field = 'pubPlace'
+Debug:traverseJsonTree: single value field = 'pubDate'
+Debug:traverseJsonTree: single value field = 'availability'
+Debug:traverseJsonTree: single value field = 'layerInfos'
+Debug:traverseJsonTree: single value field = 'docSigle'
+Debug:traverseJsonTree: single value field = 'corpusSigle'
+Debug:traverseJsonTree: ] end of array.
+Debug:traverseJsonTree: key='itemsPerPage':
+Debug:traverseJsonTree: single value field = '25'
+Debug:traverseJsonTree: key='serialQuery':
+Debug:traverseJsonTree: single value field = 'spanDistance({129: spanNext(spanNext(tokens:tt/l:rennen, tokens:tt/l:schlafen), tokens:tt/l:laufen)}, {129: tokens:tt/l:kaufen}, [(w[0:2], notOrdered, notExcluded)])'
+Debug:traverseJsonTree: key='startIndex':
+Debug:traverseJsonTree: single value field = '0'
+Debug:traverseJsonTree: key='timeout':
+Debug:traverseJsonTree: single value field = '10000'
+Debug:traverseJsonTree: key='totalResults':
+Debug:traverseJsonTree: single value field = '-1'
+Debug:traverseJsonTree: key='version':
+Debug:traverseJsonTree: single value field = '0.59.1'
+Debug:traverseJsonTree: } : end of object.
+Debug:traverseJsonTree: key='query':
+Debug:traverseJsonTree: object: { 
+Debug:traverseJsonTree: key='@type':
+Debug:traverseJsonTree: single value field = 'koral:group'
+Debug:traverseJsonTree: key='distances':
+Debug:traverseJsonTree: array: [
+Debug:traverseJsonTree: object: { 
+Debug:traverseJsonTree: key='@type':
+Debug:traverseJsonTree: single value field = 'cosmas:distance'
+Debug:traverseJsonTree: key='boundary':
+Debug:traverseJsonTree: object: { 
+Debug:traverseJsonTree: key='@type':
+Debug:traverseJsonTree: single value field = 'koral:boundary'
+Debug:traverseJsonTree: key='max':
+Debug:traverseJsonTree: single value field = '2'
+Debug:traverseJsonTree: key='min':
+Debug:traverseJsonTree: single value field = '0'
+Debug:traverseJsonTree: } : end of object.
+Debug:traverseJsonTree: key='key':
+Debug:traverseJsonTree: single value field = 'w'
+Debug:traverseJsonTree: } : end of object.
+Debug:traverseJsonTree: ] end of array.
+Debug:traverseJsonTree: key='inOrder':
+Debug:traverseJsonTree: single value field = 'false'
+Debug:traverseJsonTree: key='operands':
+Debug:traverseJsonTree: array: [
+Debug:traverseJsonTree: object: { 
+Debug:traverseJsonTree: key='@type':
+Debug:traverseJsonTree: single value field = 'koral:group'
+Debug:traverseJsonTree: key='classOut':
+Debug:traverseJsonTree: single value field = '129'
+Debug:traverseJsonTree: key='operands':
+Debug:traverseJsonTree: array: [
+Debug:traverseJsonTree: object: { 
+Debug:traverseJsonTree: key='@type':
+Debug:traverseJsonTree: single value field = 'koral:group'
+Debug:traverseJsonTree: key='operands':
+Debug:traverseJsonTree: array: [
+Debug:traverseJsonTree: object: { 
+Debug:traverseJsonTree: key='@type':
+Debug:traverseJsonTree: single value field = 'koral:token'
+Debug: checkPath: wrap-Obj: '{"@type":"koral:term","foundry":"tt","key":"GF>2&rennen","layer":"lemma","match":"match:eq","rewrites":[{"@type":"koral:rewrite","operation":"operation:injection","scope":"foundry","src":"Kustvakt"}]}'
+Debug:traverseJsonTree: key='wrap':
+Debug:traverseJsonTree: object: { 
+Debug:traverseJsonTree: key='@type':
+Debug:traverseJsonTree: single value field = 'koral:term'
+Debug:traverseJsonTree: key='foundry':
+Debug:traverseJsonTree: single value field = 'tt'
+Debug:traverseJsonTree: key='key':
+Debug:traverseJsonTree: single value field = 'GF>2&rennen'
+Debug: checkPath: found: lemma='GF>2&rennen' as koral:term.
+Debug:traverseJsonTree: key='layer':
+Debug:traverseJsonTree: single value field = 'lemma'
+Debug:traverseJsonTree: key='match':
+Debug:traverseJsonTree: single value field = 'match:eq'
+Debug:traverseJsonTree: key='rewrites':
+Debug:traverseJsonTree: array: [
+Debug:traverseJsonTree: object: { 
+Debug:traverseJsonTree: key='@type':
+Debug:traverseJsonTree: single value field = 'koral:rewrite'
+Debug:traverseJsonTree: key='operation':
+Debug:traverseJsonTree: single value field = 'operation:injection'
+Debug:traverseJsonTree: key='scope':
+Debug:traverseJsonTree: single value field = 'foundry'
+Debug:traverseJsonTree: key='src':
+Debug:traverseJsonTree: single value field = 'Kustvakt'
+Debug:traverseJsonTree: } : end of object.
+Debug:traverseJsonTree: ] end of array.
+Debug:traverseJsonTree: } : end of object.
+Debug:traverseJsonTree: } : end of object.
+Debug:traverseJsonTree: object: { 
+Debug:traverseJsonTree: key='@type':
+Debug:traverseJsonTree: single value field = 'koral:token'
+Debug: checkPath: wrap-Obj: '{"@type":"koral:term","foundry":"tt","key":"schlafen","layer":"lemma","match":"match:eq","rewrites":[{"@type":"koral:rewrite","operation":"operation:injection","scope":"foundry","src":"Kustvakt"}]}'
+Debug:traverseJsonTree: key='wrap':
+Debug:traverseJsonTree: object: { 
+Debug:traverseJsonTree: key='@type':
+Debug:traverseJsonTree: single value field = 'koral:term'
+Debug:traverseJsonTree: key='foundry':
+Debug:traverseJsonTree: single value field = 'tt'
+Debug:traverseJsonTree: key='key':
+Debug:traverseJsonTree: single value field = 'schlafen'
+Debug: checkPath: found: lemma='schlafen' as koral:term.
+Debug:traverseJsonTree: key='layer':
+Debug:traverseJsonTree: single value field = 'lemma'
+Debug:traverseJsonTree: key='match':
+Debug:traverseJsonTree: single value field = 'match:eq'
+Debug:traverseJsonTree: key='rewrites':
+Debug:traverseJsonTree: array: [
+Debug:traverseJsonTree: object: { 
+Debug:traverseJsonTree: key='@type':
+Debug:traverseJsonTree: single value field = 'koral:rewrite'
+Debug:traverseJsonTree: key='operation':
+Debug:traverseJsonTree: single value field = 'operation:injection'
+Debug:traverseJsonTree: key='scope':
+Debug:traverseJsonTree: single value field = 'foundry'
+Debug:traverseJsonTree: key='src':
+Debug:traverseJsonTree: single value field = 'Kustvakt'
+Debug:traverseJsonTree: } : end of object.
+Debug:traverseJsonTree: ] end of array.
+Debug:traverseJsonTree: } : end of object.
+Debug:traverseJsonTree: } : end of object.
+Debug:traverseJsonTree: object: { 
+Debug:traverseJsonTree: key='@type':
+Debug:traverseJsonTree: single value field = 'koral:token'
+Debug: checkPath: wrap-Obj: '{"@type":"koral:term","foundry":"tt","key":"laufen","layer":"lemma","match":"match:eq","rewrites":[{"@type":"koral:rewrite","operation":"operation:injection","scope":"foundry","src":"Kustvakt"}]}'
+Debug:traverseJsonTree: key='wrap':
+Debug:traverseJsonTree: object: { 
+Debug:traverseJsonTree: key='@type':
+Debug:traverseJsonTree: single value field = 'koral:term'
+Debug:traverseJsonTree: key='foundry':
+Debug:traverseJsonTree: single value field = 'tt'
+Debug:traverseJsonTree: key='key':
+Debug:traverseJsonTree: single value field = 'laufen'
+Debug: checkPath: found: lemma='laufen' as koral:term.
+Debug:traverseJsonTree: key='layer':
+Debug:traverseJsonTree: single value field = 'lemma'
+Debug:traverseJsonTree: key='match':
+Debug:traverseJsonTree: single value field = 'match:eq'
+Debug:traverseJsonTree: key='rewrites':
+Debug:traverseJsonTree: array: [
+Debug:traverseJsonTree: object: { 
+Debug:traverseJsonTree: key='@type':
+Debug:traverseJsonTree: single value field = 'koral:rewrite'
+Debug:traverseJsonTree: key='operation':
+Debug:traverseJsonTree: single value field = 'operation:injection'
+Debug:traverseJsonTree: key='scope':
+Debug:traverseJsonTree: single value field = 'foundry'
+Debug:traverseJsonTree: key='src':
+Debug:traverseJsonTree: single value field = 'Kustvakt'
+Debug:traverseJsonTree: } : end of object.
+Debug:traverseJsonTree: ] end of array.
+Debug:traverseJsonTree: } : end of object.
+Debug:traverseJsonTree: } : end of object.
+Debug:traverseJsonTree: ] end of array.
+Debug:traverseJsonTree: key='operation':
+Debug:traverseJsonTree: single value field = 'operation:sequence'
+Debug:traverseJsonTree: } : end of object.
+Debug:traverseJsonTree: ] end of array.
+Debug:traverseJsonTree: key='operation':
+Debug:traverseJsonTree: single value field = 'operation:class'
+Debug:traverseJsonTree: } : end of object.
+Debug:traverseJsonTree: object: { 
+Debug:traverseJsonTree: key='@type':
+Debug:traverseJsonTree: single value field = 'koral:group'
+Debug:traverseJsonTree: key='classOut':
+Debug:traverseJsonTree: single value field = '129'
+Debug:traverseJsonTree: key='operands':
+Debug:traverseJsonTree: array: [
+Debug:traverseJsonTree: object: { 
+Debug:traverseJsonTree: key='@type':
+Debug:traverseJsonTree: single value field = 'koral:token'
+Debug: checkPath: wrap-Obj: '{"@type":"koral:term","foundry":"tt","key":"kaufen","layer":"lemma","match":"match:eq","rewrites":[{"@type":"koral:rewrite","operation":"operation:injection","scope":"foundry","src":"Kustvakt"}]}'
+Debug:traverseJsonTree: key='wrap':
+Debug:traverseJsonTree: object: { 
+Debug:traverseJsonTree: key='@type':
+Debug:traverseJsonTree: single value field = 'koral:term'
+Debug:traverseJsonTree: key='foundry':
+Debug:traverseJsonTree: single value field = 'tt'
+Debug:traverseJsonTree: key='key':
+Debug:traverseJsonTree: single value field = 'kaufen'
+Debug: checkPath: found: lemma='kaufen' as koral:term.
+Debug:traverseJsonTree: key='layer':
+Debug:traverseJsonTree: single value field = 'lemma'
+Debug:traverseJsonTree: key='match':
+Debug:traverseJsonTree: single value field = 'match:eq'
+Debug:traverseJsonTree: key='rewrites':
+Debug:traverseJsonTree: array: [
+Debug:traverseJsonTree: object: { 
+Debug:traverseJsonTree: key='@type':
+Debug:traverseJsonTree: single value field = 'koral:rewrite'
+Debug:traverseJsonTree: key='operation':
+Debug:traverseJsonTree: single value field = 'operation:injection'
+Debug:traverseJsonTree: key='scope':
+Debug:traverseJsonTree: single value field = 'foundry'
+Debug:traverseJsonTree: key='src':
+Debug:traverseJsonTree: single value field = 'Kustvakt'
+Debug:traverseJsonTree: } : end of object.
+Debug:traverseJsonTree: ] end of array.
+Debug:traverseJsonTree: } : end of object.
+Debug:traverseJsonTree: } : end of object.
+Debug:traverseJsonTree: ] end of array.
+Debug:traverseJsonTree: key='operation':
+Debug:traverseJsonTree: single value field = 'operation:class'
+Debug:traverseJsonTree: } : end of object.
+Debug:traverseJsonTree: ] end of array.
+Debug:traverseJsonTree: key='operation':
+Debug:traverseJsonTree: single value field = 'operation:sequence'
+Debug:traverseJsonTree: } : end of object.
+Debug:traverseJsonTree: } : end of object.
+Debug: traverse_and_rewrite_KoralQuery: query traversed.
+Debug: GlemmClient: constructor called.
+Debug: sendQuery: requested lemma = 'GF>2&rennen'.
+Debug: sendQuery: building URL='http://c0r4ft:40913/GlemmServices2-0.0.1-SNAPSHOT/index/info/lemma/GF>2&rennen'.
+Debug: sendQuery: HTTP return status = OK.
+Debug: sendQuery: HTTP Response Content = '{"head_nWfs":0,"head_options":"flex","head_query":"GF>2&rennen","listofWfs":[]}'.
+Debug: sendQuery: lemResp='head: nWfs=0, list=[].'.
+Debug: sendQuery: requested lemma = 'schlafen'.
+Debug: sendQuery: building URL='http://c0r4ft:40913/GlemmServices2-0.0.1-SNAPSHOT/index/info/lemma/schlafen'.
+Debug: sendQuery: HTTP return status = OK.
+Debug: sendQuery: HTTP Response Content = '{"head_nWfs":50,"head_options":"flex","head_query":"schlafen","listofWfs":["Geschlafen","Schlaef","Schlaefe","Schlaefst","Schlafe","Schlafen","Schlafend","Schlafende","Schlafendem","Schlafenden","Schlafender","Schlafendes","Schlafet","Schlafn","Schlafst","Schlaft","Schlief","Schliefe","Schliefen","Schliefest","Schliefst","Schlieft","geschlafen","schlaefst","schlaeft","schlaf","schlafe","schlafen","schlafend","schlafende","schlafendem","schlafenden","schlafender","schlafendes","schlafendst","schlafest","schlafet","schlafn","schlafnden","schlafst","schlaft","schlief","schliefe","schliefen","schliefend","schliefest","schliefet","schliefst","schlieft","schläft"]}'.
+Debug: sendQuery: lemResp='head: nWfs=50, list=[Geschlafen, Schlaef, Schlaefe, Schlaefst, Schlafe, Schlafen, Schlafend, Schlafende, Schlafendem, Schlafenden, Schlafender, Schlafendes, Schlafet, Schlafn, Schlafst, Schlaft, Schlief, Schliefe, Schliefen, Schliefest, Schliefst, Schlieft, geschlafen, schlaefst, schlaeft, schlaf, schlafe, schlafen, schlafend, schlafende, schlafendem, schlafenden, schlafender, schlafendes, schlafendst, schlafest, schlafet, schlafn, schlafnden, schlafst, schlaft, schlief, schliefe, schliefen, schliefend, schliefest, schliefet, schliefst, schlieft, schläft].'.
+Debug: sendQuery: requested lemma = 'laufen'.
+Debug: sendQuery: building URL='http://c0r4ft:40913/GlemmServices2-0.0.1-SNAPSHOT/index/info/lemma/laufen'.
+Debug: sendQuery: HTTP return status = OK.
+Debug: sendQuery: HTTP Response Content = '{"head_nWfs":38,"head_options":"flex","head_query":"laufen","listofWfs":["Gelaufen","Laeufe","Laeufst","Laeuft","Laufe","Laufen","Laufendsten","Laufet","Laufn","Lauft","Lief","Liefe","Liefen","Lieft","gelaufen","laeufst","laeuft","laeufts","lauf","laufe","laufen","laufend","laufet","laufn","laufnden","laufst","lauft","lief","liefe","liefen","liefend","liefenden","liefender","liefest","liefet","liefst","lieft","läuft"]}'.
+Debug: sendQuery: lemResp='head: nWfs=38, list=[Gelaufen, Laeufe, Laeufst, Laeuft, Laufe, Laufen, Laufendsten, Laufet, Laufn, Lauft, Lief, Liefe, Liefen, Lieft, gelaufen, laeufst, laeuft, laeufts, lauf, laufe, laufen, laufend, laufet, laufn, laufnden, laufst, lauft, lief, liefe, liefen, liefend, liefenden, liefender, liefest, liefet, liefst, lieft, läuft].'.
+Debug: sendQuery: requested lemma = 'kaufen'.
+Debug: sendQuery: building URL='http://c0r4ft:40913/GlemmServices2-0.0.1-SNAPSHOT/index/info/lemma/kaufen'.
+Debug: sendQuery: HTTP return status = OK.
+Debug: sendQuery: HTTP Response Content = '{"head_nWfs":37,"head_options":"flex","head_query":"kaufen","listofWfs":["Gekauft","Kaufe","Kaufen","Kaufend","Kaufende","Kaufenden","Kaufender","Kaufendes","Kaufet","Kaufn","Kaufst","Kauft","Kaufte","Kauften","Zukaufe","gekauft","kauf","kaufe","kaufen","kaufend","kaufende","kaufendem","kaufenden","kaufender","kaufendes","kaufest","kaufet","kaufn","kaufst","kauft","kaufte","kauften","kauftest","kauftet","kauftst","zukaufe","zukaufte"]}'.
+Debug: sendQuery: lemResp='head: nWfs=37, list=[Gekauft, Kaufe, Kaufen, Kaufend, Kaufende, Kaufenden, Kaufender, Kaufendes, Kaufet, Kaufn, Kaufst, Kauft, Kaufte, Kauften, Zukaufe, gekauft, kauf, kaufe, kaufen, kaufend, kaufende, kaufendem, kaufenden, kaufender, kaufendes, kaufest, kaufet, kaufn, kaufst, kauft, kaufte, kauften, kauftest, kauftet, kauftst, zukaufe, zukaufte].'.
+Debug:traverseJsonTree: object: { 
+Debug:traverseJsonTree: key='@context':
+Debug:traverseJsonTree: single value field = 'http://korap.ids-mannheim.de/ns/KoralQuery/v0.3/context.jsonld'
+Debug:traverseJsonTree: key='collection':
+Debug:traverseJsonTree: object: { 
+Debug:traverseJsonTree: key='@type':
+Debug:traverseJsonTree: single value field = 'koral:docGroup'
+Debug:traverseJsonTree: key='operands':
+Debug:traverseJsonTree: array: [
+Debug:traverseJsonTree: object: { 
+Debug:traverseJsonTree: key='@type':
+Debug:traverseJsonTree: single value field = 'koral:doc'
+Debug:traverseJsonTree: key='key':
+Debug:traverseJsonTree: single value field = 'availability'
+Debug:traverseJsonTree: key='match':
+Debug:traverseJsonTree: single value field = 'match:eq'
+Debug:traverseJsonTree: key='type':
+Debug:traverseJsonTree: single value field = 'type:regex'
+Debug:traverseJsonTree: key='value':
+Debug:traverseJsonTree: single value field = 'CC-BY.*'
+Debug:traverseJsonTree: } : end of object.
+Debug:traverseJsonTree: object: { 
+Debug:traverseJsonTree: key='@type':
+Debug:traverseJsonTree: single value field = 'koral:docGroup'
+Debug:traverseJsonTree: key='operands':
+Debug:traverseJsonTree: array: [
+Debug:traverseJsonTree: object: { 
+Debug:traverseJsonTree: key='@type':
+Debug:traverseJsonTree: single value field = 'koral:doc'
+Debug:traverseJsonTree: key='key':
+Debug:traverseJsonTree: single value field = 'availability'
+Debug:traverseJsonTree: key='match':
+Debug:traverseJsonTree: single value field = 'match:eq'
+Debug:traverseJsonTree: key='type':
+Debug:traverseJsonTree: single value field = 'type:regex'
+Debug:traverseJsonTree: key='value':
+Debug:traverseJsonTree: single value field = 'CC-BY.*'
+Debug:traverseJsonTree: } : end of object.
+Debug:traverseJsonTree: object: { 
+Debug:traverseJsonTree: key='@type':
+Debug:traverseJsonTree: single value field = 'koral:docGroup'
+Debug:traverseJsonTree: key='operands':
+Debug:traverseJsonTree: array: [
+Debug:traverseJsonTree: object: { 
+Debug:traverseJsonTree: key='@type':
+Debug:traverseJsonTree: single value field = 'koral:doc'
+Debug:traverseJsonTree: key='key':
+Debug:traverseJsonTree: single value field = 'availability'
+Debug:traverseJsonTree: key='match':
+Debug:traverseJsonTree: single value field = 'match:eq'
+Debug:traverseJsonTree: key='type':
+Debug:traverseJsonTree: single value field = 'type:regex'
+Debug:traverseJsonTree: key='value':
+Debug:traverseJsonTree: single value field = 'ACA.*'
+Debug:traverseJsonTree: } : end of object.
+Debug:traverseJsonTree: object: { 
+Debug:traverseJsonTree: key='@type':
+Debug:traverseJsonTree: single value field = 'koral:docGroup'
+Debug:traverseJsonTree: key='operands':
+Debug:traverseJsonTree: array: [
+Debug:traverseJsonTree: object: { 
+Debug:traverseJsonTree: key='@type':
+Debug:traverseJsonTree: single value field = 'koral:doc'
+Debug:traverseJsonTree: key='key':
+Debug:traverseJsonTree: single value field = 'availability'
+Debug:traverseJsonTree: key='match':
+Debug:traverseJsonTree: single value field = 'match:eq'
+Debug:traverseJsonTree: key='type':
+Debug:traverseJsonTree: single value field = 'type:regex'
+Debug:traverseJsonTree: key='value':
+Debug:traverseJsonTree: single value field = 'QAO-NC'
+Debug:traverseJsonTree: } : end of object.
+Debug:traverseJsonTree: object: { 
+Debug:traverseJsonTree: key='@type':
+Debug:traverseJsonTree: single value field = 'koral:doc'
+Debug:traverseJsonTree: key='key':
+Debug:traverseJsonTree: single value field = 'availability'
+Debug:traverseJsonTree: key='match':
+Debug:traverseJsonTree: single value field = 'match:eq'
+Debug:traverseJsonTree: key='type':
+Debug:traverseJsonTree: single value field = 'type:regex'
+Debug:traverseJsonTree: key='value':
+Debug:traverseJsonTree: single value field = 'QAO.*'
+Debug:traverseJsonTree: } : end of object.
+Debug:traverseJsonTree: ] end of array.
+Debug:traverseJsonTree: key='operation':
+Debug:traverseJsonTree: single value field = 'operation:or'
+Debug:traverseJsonTree: } : end of object.
+Debug:traverseJsonTree: ] end of array.
+Debug:traverseJsonTree: key='operation':
+Debug:traverseJsonTree: single value field = 'operation:or'
+Debug:traverseJsonTree: } : end of object.
+Debug:traverseJsonTree: ] end of array.
+Debug:traverseJsonTree: key='operation':
+Debug:traverseJsonTree: single value field = 'operation:or'
+Debug:traverseJsonTree: } : end of object.
+Debug:traverseJsonTree: ] end of array.
+Debug:traverseJsonTree: key='operation':
+Debug:traverseJsonTree: single value field = 'operation:and'
+Debug:traverseJsonTree: key='rewrites':
+Debug:traverseJsonTree: array: [
+Debug:traverseJsonTree: object: { 
+Debug:traverseJsonTree: key='@type':
+Debug:traverseJsonTree: single value field = 'koral:rewrite'
+Debug:traverseJsonTree: key='operation':
+Debug:traverseJsonTree: single value field = 'operation:insertion'
+Debug:traverseJsonTree: key='scope':
+Debug:traverseJsonTree: single value field = 'availability(FREE)'
+Debug:traverseJsonTree: key='src':
+Debug:traverseJsonTree: single value field = 'Kustvakt'
+Debug:traverseJsonTree: } : end of object.
+Debug:traverseJsonTree: ] end of array.
+Debug:traverseJsonTree: } : end of object.
+Debug:traverseJsonTree: key='matches':
+Debug:traverseJsonTree: array: [
+Debug:traverseJsonTree: single value field = '...'
+Debug:traverseJsonTree: ] end of array.
+Debug:traverseJsonTree: key='meta':
+Debug:traverseJsonTree: object: { 
+Debug:traverseJsonTree: key='benchmark':
+Debug:traverseJsonTree: single value field = '5.08010068 s'
+Debug:traverseJsonTree: key='context':
+Debug:traverseJsonTree: object: { 
+Debug:traverseJsonTree: key='left':
+Debug:traverseJsonTree: array: [
+Debug:traverseJsonTree: single value field = 'token'
+Debug:traverseJsonTree: single value field = '40'
+Debug:traverseJsonTree: ] end of array.
+Debug:traverseJsonTree: key='right':
+Debug:traverseJsonTree: array: [
+Debug:traverseJsonTree: single value field = 'token'
+Debug:traverseJsonTree: single value field = '40'
+Debug:traverseJsonTree: ] end of array.
+Debug:traverseJsonTree: } : end of object.
+Debug:traverseJsonTree: key='count':
+Debug:traverseJsonTree: single value field = '25'
+Debug:traverseJsonTree: key='cutOff':
+Debug:traverseJsonTree: single value field = 'true'
+Debug:traverseJsonTree: key='fields':
+Debug:traverseJsonTree: array: [
+Debug:traverseJsonTree: single value field = 'ID'
+Debug:traverseJsonTree: single value field = 'UID'
+Debug:traverseJsonTree: single value field = 'textSigle'
+Debug:traverseJsonTree: single value field = 'corpusID'
+Debug:traverseJsonTree: single value field = 'author'
+Debug:traverseJsonTree: single value field = 'title'
+Debug:traverseJsonTree: single value field = 'subTitle'
+Debug:traverseJsonTree: single value field = 'textClass'
+Debug:traverseJsonTree: single value field = 'pubPlace'
+Debug:traverseJsonTree: single value field = 'pubDate'
+Debug:traverseJsonTree: single value field = 'availability'
+Debug:traverseJsonTree: single value field = 'layerInfos'
+Debug:traverseJsonTree: single value field = 'docSigle'
+Debug:traverseJsonTree: single value field = 'corpusSigle'
+Debug:traverseJsonTree: ] end of array.
+Debug:traverseJsonTree: key='itemsPerPage':
+Debug:traverseJsonTree: single value field = '25'
+Debug:traverseJsonTree: key='serialQuery':
+Debug:traverseJsonTree: single value field = 'spanDistance({129: spanNext(spanNext(tokens:tt/l:rennen, tokens:tt/l:schlafen), tokens:tt/l:laufen)}, {129: tokens:tt/l:kaufen}, [(w[0:2], notOrdered, notExcluded)])'
+Debug:traverseJsonTree: key='startIndex':
+Debug:traverseJsonTree: single value field = '0'
+Debug:traverseJsonTree: key='timeout':
+Debug:traverseJsonTree: single value field = '10000'
+Debug:traverseJsonTree: key='totalResults':
+Debug:traverseJsonTree: single value field = '-1'
+Debug:traverseJsonTree: key='version':
+Debug:traverseJsonTree: single value field = '0.59.1'
+Debug:traverseJsonTree: } : end of object.
+Debug:traverseJsonTree: key='query':
+Debug:traverseJsonTree: object: { 
+Debug:traverseJsonTree: key='@type':
+Debug:traverseJsonTree: single value field = 'koral:group'
+Debug:traverseJsonTree: key='distances':
+Debug:traverseJsonTree: array: [
+Debug:traverseJsonTree: object: { 
+Debug:traverseJsonTree: key='@type':
+Debug:traverseJsonTree: single value field = 'cosmas:distance'
+Debug:traverseJsonTree: key='boundary':
+Debug:traverseJsonTree: object: { 
+Debug:traverseJsonTree: key='@type':
+Debug:traverseJsonTree: single value field = 'koral:boundary'
+Debug:traverseJsonTree: key='max':
+Debug:traverseJsonTree: single value field = '2'
+Debug:traverseJsonTree: key='min':
+Debug:traverseJsonTree: single value field = '0'
+Debug:traverseJsonTree: } : end of object.
+Debug:traverseJsonTree: key='key':
+Debug:traverseJsonTree: single value field = 'w'
+Debug:traverseJsonTree: } : end of object.
+Debug:traverseJsonTree: ] end of array.
+Debug:traverseJsonTree: key='inOrder':
+Debug:traverseJsonTree: single value field = 'false'
+Debug:traverseJsonTree: key='operands':
+Debug:traverseJsonTree: array: [
+Debug:traverseJsonTree: object: { 
+Debug:traverseJsonTree: key='@type':
+Debug:traverseJsonTree: single value field = 'koral:group'
+Debug:traverseJsonTree: key='classOut':
+Debug:traverseJsonTree: single value field = '129'
+Debug:traverseJsonTree: key='operands':
+Debug:traverseJsonTree: array: [
+Debug:traverseJsonTree: object: { 
+Debug:traverseJsonTree: key='@type':
+Debug:traverseJsonTree: single value field = 'koral:group'
+Debug:traverseJsonTree: key='operands':
+Debug:traverseJsonTree: array: [
+Debug:traverseJsonTree: object: { 
+Debug:traverseJsonTree: key='@type':
+Debug:traverseJsonTree: single value field = 'koral:token'
+Debug: checkPath: wrap-Obj: '{"@type":"koral:term","foundry":"tt","key":"GF>2&rennen","layer":"lemma","match":"match:eq","rewrites":[{"@type":"koral:rewrite","operation":"operation:injection","scope":"foundry","src":"Kustvakt"}]}'
+Debug:traverseJsonTree: key='wrap':
+Debug:traverseJsonTree: object: { 
+Debug:traverseJsonTree: key='@type':
+Debug:traverseJsonTree: single value field = 'koral:term'
+Debug:traverseJsonTree: key='foundry':
+Debug:traverseJsonTree: single value field = 'tt'
+Debug:traverseJsonTree: key='key':
+Debug:traverseJsonTree: single value field = 'GF>2&rennen'
+Debug:traverseJsonTree: key='layer':
+Debug:traverseJsonTree: single value field = 'lemma'
+Debug:traverseJsonTree: key='match':
+Debug:traverseJsonTree: single value field = 'match:eq'
+Debug:traverseJsonTree: key='rewrites':
+Debug:traverseJsonTree: array: [
+Debug:traverseJsonTree: object: { 
+Debug:traverseJsonTree: key='@type':
+Debug:traverseJsonTree: single value field = 'koral:rewrite'
+Debug:traverseJsonTree: key='operation':
+Debug:traverseJsonTree: single value field = 'operation:injection'
+Debug:traverseJsonTree: key='scope':
+Debug:traverseJsonTree: single value field = 'foundry'
+Debug:traverseJsonTree: key='src':
+Debug:traverseJsonTree: single value field = 'Kustvakt'
+Debug:traverseJsonTree: } : end of object.
+Debug:traverseJsonTree: ] end of array.
+Debug:traverseJsonTree: } : end of object.
+Debug: rewriteObjNode: rewriting for lemma 'GF>2&rennen'.
+Debug:traverseJsonTree: after rewrite: node='{"@type":"koral:term","foundry":"tt","key":[],"layer":"orth","match":"match:eq","rewrites":[{"@type":"koral:rewrite","operation":"operation:injection","scope":"foundry","src":"Kustvakt"}],"desc":"&GF>2&rennen","hide":"key"}'.
+Debug:traverseJsonTree: } : end of object.
+Debug:traverseJsonTree: object: { 
+Debug:traverseJsonTree: key='@type':
+Debug:traverseJsonTree: single value field = 'koral:token'
+Debug: checkPath: wrap-Obj: '{"@type":"koral:term","foundry":"tt","key":"schlafen","layer":"lemma","match":"match:eq","rewrites":[{"@type":"koral:rewrite","operation":"operation:injection","scope":"foundry","src":"Kustvakt"}]}'
+Debug:traverseJsonTree: key='wrap':
+Debug:traverseJsonTree: object: { 
+Debug:traverseJsonTree: key='@type':
+Debug:traverseJsonTree: single value field = 'koral:term'
+Debug:traverseJsonTree: key='foundry':
+Debug:traverseJsonTree: single value field = 'tt'
+Debug:traverseJsonTree: key='key':
+Debug:traverseJsonTree: single value field = 'schlafen'
+Debug:traverseJsonTree: key='layer':
+Debug:traverseJsonTree: single value field = 'lemma'
+Debug:traverseJsonTree: key='match':
+Debug:traverseJsonTree: single value field = 'match:eq'
+Debug:traverseJsonTree: key='rewrites':
+Debug:traverseJsonTree: array: [
+Debug:traverseJsonTree: object: { 
+Debug:traverseJsonTree: key='@type':
+Debug:traverseJsonTree: single value field = 'koral:rewrite'
+Debug:traverseJsonTree: key='operation':
+Debug:traverseJsonTree: single value field = 'operation:injection'
+Debug:traverseJsonTree: key='scope':
+Debug:traverseJsonTree: single value field = 'foundry'
+Debug:traverseJsonTree: key='src':
+Debug:traverseJsonTree: single value field = 'Kustvakt'
+Debug:traverseJsonTree: } : end of object.
+Debug:traverseJsonTree: ] end of array.
+Debug:traverseJsonTree: } : end of object.
+Debug: rewriteObjNode: rewriting for lemma 'schlafen'.
+Debug:traverseJsonTree: after rewrite: node='{"@type":"koral:term","foundry":"tt","key":["Geschlafen","Schlaef","Schlaefe","Schlaefst","Schlafe","Schlafen","Schlafend","Schlafende","Schlafendem","Schlafenden","Schlafender","Schlafendes","Schlafet","Schlafn","Schlafst","Schlaft","Schlief","Schliefe","Schliefen","Schliefest","Schliefst","Schlieft","geschlafen","schlaefst","schlaeft","schlaf","schlafe","schlafen","schlafend","schlafende","schlafendem","schlafenden","schlafender","schlafendes","schlafendst","schlafest","schlafet","schlafn","schlafnden","schlafst","schlaft","schlief","schliefe","schliefen","schliefend","schliefest","schliefet","schliefst","schlieft","schläft"],"layer":"orth","match":"match:eq","rewrites":[{"@type":"koral:rewrite","operation":"operation:injection","scope":"foundry","src":"Kustvakt"}],"desc":"&schlafen","hide":"key"}'.
+Debug:traverseJsonTree: } : end of object.
+Debug:traverseJsonTree: object: { 
+Debug:traverseJsonTree: key='@type':
+Debug:traverseJsonTree: single value field = 'koral:token'
+Debug: checkPath: wrap-Obj: '{"@type":"koral:term","foundry":"tt","key":"laufen","layer":"lemma","match":"match:eq","rewrites":[{"@type":"koral:rewrite","operation":"operation:injection","scope":"foundry","src":"Kustvakt"}]}'
+Debug:traverseJsonTree: key='wrap':
+Debug:traverseJsonTree: object: { 
+Debug:traverseJsonTree: key='@type':
+Debug:traverseJsonTree: single value field = 'koral:term'
+Debug:traverseJsonTree: key='foundry':
+Debug:traverseJsonTree: single value field = 'tt'
+Debug:traverseJsonTree: key='key':
+Debug:traverseJsonTree: single value field = 'laufen'
+Debug:traverseJsonTree: key='layer':
+Debug:traverseJsonTree: single value field = 'lemma'
+Debug:traverseJsonTree: key='match':
+Debug:traverseJsonTree: single value field = 'match:eq'
+Debug:traverseJsonTree: key='rewrites':
+Debug:traverseJsonTree: array: [
+Debug:traverseJsonTree: object: { 
+Debug:traverseJsonTree: key='@type':
+Debug:traverseJsonTree: single value field = 'koral:rewrite'
+Debug:traverseJsonTree: key='operation':
+Debug:traverseJsonTree: single value field = 'operation:injection'
+Debug:traverseJsonTree: key='scope':
+Debug:traverseJsonTree: single value field = 'foundry'
+Debug:traverseJsonTree: key='src':
+Debug:traverseJsonTree: single value field = 'Kustvakt'
+Debug:traverseJsonTree: } : end of object.
+Debug:traverseJsonTree: ] end of array.
+Debug:traverseJsonTree: } : end of object.
+Debug: rewriteObjNode: rewriting for lemma 'laufen'.
+Debug:traverseJsonTree: after rewrite: node='{"@type":"koral:term","foundry":"tt","key":["Gelaufen","Laeufe","Laeufst","Laeuft","Laufe","Laufen","Laufendsten","Laufet","Laufn","Lauft","Lief","Liefe","Liefen","Lieft","gelaufen","laeufst","laeuft","laeufts","lauf","laufe","laufen","laufend","laufet","laufn","laufnden","laufst","lauft","lief","liefe","liefen","liefend","liefenden","liefender","liefest","liefet","liefst","lieft","läuft"],"layer":"orth","match":"match:eq","rewrites":[{"@type":"koral:rewrite","operation":"operation:injection","scope":"foundry","src":"Kustvakt"}],"desc":"&laufen","hide":"key"}'.
+Debug:traverseJsonTree: } : end of object.
+Debug:traverseJsonTree: ] end of array.
+Debug:traverseJsonTree: key='operation':
+Debug:traverseJsonTree: single value field = 'operation:sequence'
+Debug:traverseJsonTree: } : end of object.
+Debug:traverseJsonTree: ] end of array.
+Debug:traverseJsonTree: key='operation':
+Debug:traverseJsonTree: single value field = 'operation:class'
+Debug:traverseJsonTree: } : end of object.
+Debug:traverseJsonTree: object: { 
+Debug:traverseJsonTree: key='@type':
+Debug:traverseJsonTree: single value field = 'koral:group'
+Debug:traverseJsonTree: key='classOut':
+Debug:traverseJsonTree: single value field = '129'
+Debug:traverseJsonTree: key='operands':
+Debug:traverseJsonTree: array: [
+Debug:traverseJsonTree: object: { 
+Debug:traverseJsonTree: key='@type':
+Debug:traverseJsonTree: single value field = 'koral:token'
+Debug: checkPath: wrap-Obj: '{"@type":"koral:term","foundry":"tt","key":"kaufen","layer":"lemma","match":"match:eq","rewrites":[{"@type":"koral:rewrite","operation":"operation:injection","scope":"foundry","src":"Kustvakt"}]}'
+Debug:traverseJsonTree: key='wrap':
+Debug:traverseJsonTree: object: { 
+Debug:traverseJsonTree: key='@type':
+Debug:traverseJsonTree: single value field = 'koral:term'
+Debug:traverseJsonTree: key='foundry':
+Debug:traverseJsonTree: single value field = 'tt'
+Debug:traverseJsonTree: key='key':
+Debug:traverseJsonTree: single value field = 'kaufen'
+Debug:traverseJsonTree: key='layer':
+Debug:traverseJsonTree: single value field = 'lemma'
+Debug:traverseJsonTree: key='match':
+Debug:traverseJsonTree: single value field = 'match:eq'
+Debug:traverseJsonTree: key='rewrites':
+Debug:traverseJsonTree: array: [
+Debug:traverseJsonTree: object: { 
+Debug:traverseJsonTree: key='@type':
+Debug:traverseJsonTree: single value field = 'koral:rewrite'
+Debug:traverseJsonTree: key='operation':
+Debug:traverseJsonTree: single value field = 'operation:injection'
+Debug:traverseJsonTree: key='scope':
+Debug:traverseJsonTree: single value field = 'foundry'
+Debug:traverseJsonTree: key='src':
+Debug:traverseJsonTree: single value field = 'Kustvakt'
+Debug:traverseJsonTree: } : end of object.
+Debug:traverseJsonTree: ] end of array.
+Debug:traverseJsonTree: } : end of object.
+Debug: rewriteObjNode: rewriting for lemma 'kaufen'.
+Debug:traverseJsonTree: after rewrite: node='{"@type":"koral:term","foundry":"tt","key":["Gekauft","Kaufe","Kaufen","Kaufend","Kaufende","Kaufenden","Kaufender","Kaufendes","Kaufet","Kaufn","Kaufst","Kauft","Kaufte","Kauften","Zukaufe","gekauft","kauf","kaufe","kaufen","kaufend","kaufende","kaufendem","kaufenden","kaufender","kaufendes","kaufest","kaufet","kaufn","kaufst","kauft","kaufte","kauften","kauftest","kauftet","kauftst","zukaufe","zukaufte"],"layer":"orth","match":"match:eq","rewrites":[{"@type":"koral:rewrite","operation":"operation:injection","scope":"foundry","src":"Kustvakt"}],"desc":"&kaufen","hide":"key"}'.
+Debug:traverseJsonTree: } : end of object.
+Debug:traverseJsonTree: ] end of array.
+Debug:traverseJsonTree: key='operation':
+Debug:traverseJsonTree: single value field = 'operation:class'
+Debug:traverseJsonTree: } : end of object.
+Debug:traverseJsonTree: ] end of array.
+Debug:traverseJsonTree: key='operation':
+Debug:traverseJsonTree: single value field = 'operation:sequence'
+Debug:traverseJsonTree: } : end of object.
+Debug:traverseJsonTree: } : end of object.
+Debug: simulateWordformServices: receiving rewritten query from WordformServices...