code: public static <K, V> Collection<Map<K, V>> collectify(ObjectMapper mapper, Object source, Class<? extends Collection> targetCollectionType, Class<K> targetKeyType, Class<V> targetValueType) {
          MapType mapType = mapper.getTypeFactory().constructMapType(Map.class, targetKeyType, targetValueType);
          return collectify(mapper, convertToCollection(source), targetCollectionType, mapType);
      }
docs: Convert an object to a collection of maps.
  
  @param mapper               the object mapper
  @param source               the source object
  @param targetCollectionType the target collection type
  @param targetKeyType        the target map key type
  @param targetValueType      the target map value type
  @return collection