Fix casting issue in represent matcher.

Let's say that in representation will be time. It gets serialized as string in json and then it doesn't get converted to instance of Time, therefore it makes a difference which should be ommited.