Serialization and Deserialization for NLP Annotated Documents.