Fixing the comparable of json objects which happens in Interaction