import yaml


def dump_to_string(data)-> str:
    """
    Dumps 'data' object to yaml string
    """
    result = yaml.safe_dump(data,
                            default_flow_style=False,
                            default_style=None,
                            explicit_start=None)
    return result