Make primitive more aligned with the output format by just keeping track the uniqueIndices. Refactored code to pass the multiple indices per primitive just for the de-indexing phase.
fix handling of indices vectors
tiny command line helper to batch conversions