cortex_filter_paths.pl updates JSON header