store root nodes with field name as key