code: public <T> T as(@SuppressWarnings("rawtypes") TypeToken typeToken) throws AlgorithmException {
          return this.as(typeToken.getType());
      }
docs: Convert the result to a specific type.
  To avoid type erasure, be sure to instantiate as an anonymous class:
  <pre>
  {@code new TypeToken<MyClass>(){} }
  </pre>
  @param <T> the type that the response will be deserialized into
  @param typeToken the type used by the deserializer (should correspond with T)
  @return the result, if this is AlgoSuccess
  @throws AlgorithmException the error, if this is AlgoFailure