add fields corresponding to rdata types

prefer standard immutable fields for rdata which has the advantage of serializing nicer by default as well lest casts