Unread comments highlight removes only on manual refresh
Added JSON field "properties" to "TicketComment"
Functions json_encode() and json_decode() replaced to modX::toJSON() and modX::fromJSON()