No long use static index values when serializing csv data