code: private <T> T unmarshalAs(String valueAsString, Class<T> asClass) throws IOException {
          return mapper.reader(asClass).readValue(valueAsString);
      }
docs: Unmarshall the given type of object.
  @param valueAsString
  @param asClass
  @throws IOException