make sure many_to_pg_array takes account of array_type

Fixes a bug where many_to_pg_array wasn't working with the uuid array type.