Half hour struggle with the persistence issue, still unresolved. Create the "clean imported data" function instead. Then, a bit of refactor on loading link definitions, followed by the proper, configurable DB data type (like "BIT") to Dust attribute type (like "AttDefBool") conversion set by entities.