def convertDictToValueNameList(valueDict):
    """Returns a list of name/value dictionaries. Not recursive. Scrubs empties."""
    return [
        {"name": k, "value": valueDict[k]} for k in valueDict if valueDict[k]
    ]