def chronos_parent_str(parentlist):
    """Returns correct string for parent dependencies.

    Formatting of returned string depends on number of parents

    Args:
        parentlist (list): names of parent jobs

    Returns: string
    """
    return '"parents": {0}'.format(str(parentlist).replace("'", "\""))