code: public static <E> List<E> listify(ObjectMapper mapper, Object source, Class<E> targetElementType) {
          return (List<E>) collectify(mapper, source, List.class, targetElementType);
      }
docs: Convert an object to a list.
  
  @param mapper            the object mapper
  @param source            the source object
  @param targetElementType the target list element type
  @return list