def _normalize(val):
    if isinstance(val, bool):
        return 'on' if val else 'off'
    return str(val).lower()
Fix Salt's yaml-ification of on/off, and otherwise normalize the on/off
dataset/ETHPy150Open saltstack/salt/salt/modules/freebsdports.py/_normalize