migrate old index mapping to new array type mapping

sry, this was not needed, built another thing in the Mappings class. removed that.