- fix primary_key_uri_escaped() to check explicitly for ref() eq ARRAY in case the primary key is an object (e.g. BigInt)