remove copy-paste leftover
rename generic "dct" to specific "fields"
rename write_field to write_attr to match read_attr