Use pipeline2 for downgrading DAISY3 to DAISY202
Some crude error handling when the encoding fails

also move to the natural keys scheme for states