#373 ctj extractor and overwriter