How do I migrate AT content with leadimage to Dexterity

Also look at http://docs.plone.org/develop/debugging/pdb.html.