The data sections for the indices tests are currently Data::Dumper dumps that are eval'd back to perl structures.
This can cause some issues when generating data as the self referential structures are not handled properly.
It would be cleaner, and perhaps more compact, to use JSON.