make all OrderedDict hashable
disable yamlex autoquoting
fixed yamlex shebangs
replace yamldumper by serializers.yamlex
clean states.file