pub fn licenses_to_output(
    licenses: &[LicenseDatum],
    format: Format,
    pretty: bool,
    out: Option<String>
) -> Option<()>