Make process-all-submdirectories.py use JSON config.