Remove manual postgres array handling

This is done by psycopg2 by now