code: def get_records(self):
          
          form = self.request.form
          ar_count = self.get_ar_count()
  
          records = []
          # Group belonging AR fields together
          for arnum in range(ar_count):
              record = {}
              s1 = "-{}".format(arnum)
              keys = filter(lambda key: s1 in key, form.keys())
              for key in keys:
                  new_key = key.replace(s1, "")
                  value = form.get(key)
                  record[new_key] = value
              records.append(record)
          return records
docs: Returns a list of AR records
  
          Fields coming from `request.form` have a number prefix, e.g. Contact-0.
          Fields with the same suffix number are grouped together in a record.
          Each record represents the data for one column in the AR Add form and
          contains a mapping of the fieldName (w/o prefix) -> value.
  
          Example:
          [{"Contact": "Rita Mohale", ...}, {Contact: "Neil Standard"} ...]