def rewrite_single_shorthand_state_decl(data):  # pylint: disable=C0103
    for sid, states in six.iteritems(data):
        if isinstance(states, six.string_types):
            data[sid] = {states: []}
Rewrite all state declarations that look like this::
dataset/ETHPy150Open saltstack/salt/salt/renderers/stateconf.py/rewrite_single_shorthand_state_decl