generate enum metadata
fix Int32/Int64 python code
fix Xml tests