import yaml


def _yaml_to_dict(yaml_string):
    """
    Converts a yaml string to dictionary

    Args:
        yaml_string: String containing YAML

    Returns:
        Dictionary containing the same object
    """

    return yaml.safe_load(yaml_string)