fixes to ern read/write
remove ContentElement, change text node value accessor
remove superfluous autogen'd requires