Cast interactivity fields to text to avoid problems with unknown types (eg. citext)