Fix migration of Python nodes

Element.InnerXML was not getting updated which failed the python node