NXP-15015: fix use of native PostgreSQL uuids for document ids