The current implementation is experiencing higher-than-expected latency during document processing, especially for larger documents. This issue aims to track and implement optimizations for document to json for larger docs for different chunking strategies (paragraph, semantic, heading etc. based chunking) in the current implementation.