Added encoding to json return value in tickets list