'Regorganizes the data for a PlaybookInclude datastructure to line
up with what we expect the proper attributes to be'

def preprocess_data(self, ds):

    assert isinstance(ds, dict), ('ds    (%s)    should    be    a    dict    but    was    a    %s' % (ds, type(ds)))
    new_ds = AnsibleMapping()
    if isinstance(ds, AnsibleBaseYAMLObject):
        new_ds.ansible_pos = ds.ansible_pos
    for (k, v) in iteritems(ds):
        if (k in ('include', 'import_playbook')):
            self._preprocess_import(ds, new_ds, k, v)
        else:
            if (k == 'vars'):
                if ('vars' in new_ds):
                    raise AnsibleParserError("import_playbook    parameters    cannot    be    mixed    with    'vars'    entries    for    import    statements", obj=ds)
                elif (not isinstance(v, dict)):
                    raise AnsibleParserError('vars    for    import_playbook    statements    must    be    specified    as    a    dictionary', obj=ds)
            new_ds[k] = v
    return super(PlaybookInclude, self).preprocess_data(new_ds)
