code: public String sendDataWithObjectMapper(Object sourceObject, String index,
              String type) {
          return sendDataWithObjectMapper(sourceObject, index, type, null)
                  .getId();
      }
docs: Send data with object mapper string.
  
  @param sourceObject the source object
  @param index        the index
  @param type         the type
  @return the string