def getCleanSimilars(similarBills: dict) -> dict: 
  """
  Creates a dict where the key is the index of the original bill section 
  and the value is an array of similar sections from other bills

  Args:
      similarBills (dict): similar bills, with a list of sections that match the original bill 

  Returns:
      dict: similar sections, keyed by the index of the original bill's sections {0: [similar sections], 1: [...], 3: [...] } 
  """
  similarsDict = {} 
  for similarSections in similarBills.values():
    for similarSection in similarSections:
      currentIndex = str(similarSection.get('sectionIndex'))
      if not similarsDict.get(currentIndex):
        similarsDict[currentIndex] = [similarSection]
      else:
        similarsDict[currentIndex].append(similarSection)

  return similarsDict