restructured document model and collection