bug with backingStore and export/import entities and bug with toType not cloning properly