import yaml


def jinja_filter_toyaml_dict(value) -> str:
    """Jinjafilter to return a dict as a Nice Yaml.

    Args:
        value (dict): value to convert

    Returns:
        Str formatted as Yaml
    """
    return yaml.dump(value, default_flow_style=False)