Rename DataTypeModel attribute from data to type