Fixed CustomFieldList XML generation

Reading values from CustomFieldList was working fine, but XML was getting mangled
when values were being set
Fixing specs