fix(registry): lazily migrate legacy payloads