Fixed #20007  -- Configured psycopg2 to return UnicodeArrays

Note: To verify that this fix works correctly, you must run tests using a PGSQL backend. Non-PGSQL backends will simply skip the test.