support reading from postgres 'text' type