modify-license.py: refactor lists to simplify modification