serialize reverseIndexer and waterLine