NXCALS-2804 - a fix for wrong keyValue interpretation
#Merge request template @acc-logging-team - please have a look for approval. Fixing the interpretation problem, adding escaping and proper equals for TimeWindow (it was not working).
Closes NXCALS-2804