code: static String normalizeResponseWrapper(final String type) {
          if (!getTypeParameters(type).isEmpty() && isAssignableTo(type, Types.GENERIC_ENTITY))
              return getTypeParameters(type).get(0);
          return type;
      }
docs: Normalizes the body type (e.g. removes nested {@link GenericEntity}s).
  
  @param type The type
  @return The normalized type