As it happens the Dutch authorities were pretty good with collecting ethnicity and confessional data in the inter-war period, then the very bad guys came along and we know what followed.
Data collection at scale and especially data centralization has always been a mistake, too bad many of the livelihoods of us here depend on exactly that.