code: private void removeUserHashes(TenantDefinition tenantDef) {
          for (UserDefinition userDef : tenantDef.getUsers().values()) {
              userDef.setHash(null);
          }
      }
docs: Remove hash value from user definitions.