changed all array fields to hstore