def validate_song(song):
    """
    Converts song fields from None to '' for string outputs.
    """
    attrs = ["default_arrangement", "composer", "copyright", "youtube", "ccli"]
    for a in attrs:
        if getattr(song, a) in [None, "None"]:
            setattr(song, a, "")
    return song