add metadata infos to get indices names

Added one struct and connected the metadata property to be able to list the name of the indices