Rewrite xml using python ET
Generate uuids