update RootFileWriter for new DataModel design