Adds support for PostgreSQL array values

Converts arrays to PostgreSQL arrays when the attribute the value is
operated on is an array type