maskingRegistry
Builds the resource registry (serialName -> resourceName) that drives masking recursion, from each resource serializer and its @IhawuResource name. Register every resource type — including nested ones and collection element types — so they mask themselves when reached.