def generateCSV(package_exports):
    """
    Create a CSV file based on the exported data
    
    It expects to receive a list of objects with the following keys:
    - package
    - name
    - type
    """
    csv_content = ""
    for package_export in package_exports:
        csv_content += "%s,%s,%s\n"%(
            package_export["package"],
            package_export["name"],
            package_export["type"]
        )
    return csv_content