Add helper for migrating dynamic fields

Currently there isn't one and it's non-obvious.