LT-15768: Fix Crash Migrating Dictionaries

Perform migrations inside of a UnitOfWork

Change-Id: Id2e9f2ca1bf05c70ae68d1eac0eaa765bd29ca1f