YAML jinja2 filter fix

Fix for the new yaml template filter outputting raw OrderedDict repr. See https://github.com/saltstack/salt/pull/6039#issuecomment-25707309 for more info.