change array to be stored as a Postgres Array (text []) NOTE: current method only supports string arrays, and only 1 level deep. If storing an array of objects, undefined behavior may occur.