Manage null string attributes encoding