def _join_type_and_checksum(type_list, checksum_list):
    """
    Join checksum and their correlated type together to the following format:
    "checksums": [{"type":"md5", "checksum":"abcdefg}, {"type":"sha256", "checksum":"abcd12345"}]
    """
    checksums = [
        {
            "type": c_type,
            "checksum": checksum,
        }
        for c_type, checksum in zip(type_list, checksum_list)
    ]
    return checksums