Could you pass `obj` straight to `migrateRecord()` here and skip the array step?