Debugging json in TextRetriever