The escaping wasn't being performed on measuerments, keys or tag values. The escape function was returning the input and not the modified ouput, so this has been fixed refs #12047 Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>