Reorganize resourceEntries