artusConfigDiff.py: simplifications and generalisations