I replaced "/" with ".", but it did not change anything. messages looks like the same as rawData but with curly braces around it {}.
messages == {rawData} evaluates to true.
Update: Fixed this problem now. (Still some other things to change for European date format) Had to also add `~~","~~ between date and time in my format.