code: public <T extends HalRepresentation> T as(final Class<T> type,
                                                final List<EmbeddedTypeInfo> typeInfo) throws IOException {
          final JsonNode jsonNode = objectMapper.readTree(json);
          final T halRepresentation = objectMapper.convertValue(jsonNode, type);
          resolveEmbeddedTypeInfo(typeInfo, jsonNode, halRepresentation);
          return halRepresentation;
      }
docs: Parse embedded items of a given link-relation type not as HalRepresentation, but as a sub-type of
  HalRepresentation, so extra attributes of the embedded items can be accessed.
  
  @param type the Java class used to map JSON to.
  @param typeInfo type information of the embedded items.
  @param <T> The type used to parse the HAL document
  @return T
  @throws IOException if a low-level I/O problem (unexpected end-of-input, network error) occurs.
  @throws JsonParseException if the json document can not be parsed by Jackson's ObjectMapper
  @throws JsonMappingException if the input JSON structure can not be mapped to the specified HalRepresentation type
  @since 0.1.0