Fix the attribut list conversion.

Only int/uint values are still problematic.
Fix the mechanism too