def bytes_to_str(value):
    """Convert byte to string

    Args:
        value (byte]):  

    Returns:
        [str]: value if value is str o.w str(value)
    """
    if isinstance(value, bytes):
        return value.decode("utf-8")
    return value