Made compressed index serializable