changing name entity in systemmetric_item to index to align with object and state.