Shell script for indexing corpora.
Exporting corpus_id
Improved serialization logic.