code: @Deprecated
      public <T> List<T> getAsList(String field, final Class<T> clazz) {
          return getAsList(field, clazz, null);
      }
docs: Some fields can be a List, this method cast the Object to aList of type T. Gets the value of the given key, casting it to the given
  {@code Class<T>}.  This is useful to avoid having casts
  in client code, though the effect is the same.  So to get the value of a key that is of type String, you would write
  {@code String name = doc.get("name", String.class)} instead of {@code String name = (String) doc.get("x") }.
  
  @param field List field name
  @param clazz Class to be returned
  @param <T> Element class
  @return A List representation of the field