ObjectArraySerializer can preserve indexes