Migration: Change inline dependencies to new 'dependencies' dictionary.

Fixes #4061