replace editorialDecl and availability in TCP; make sure comments are preserved