Python library for document processing for elasticsearch