replace hacky GitStrArray with StrArrayStruct in index