Generate subitem information from any 'main' item

Currently, you can only generate subitems from one ‘main’ item per document. A great addition would be to allow multiple subitem groups to be generated in a document, independent of the main items.