@Test
@SuppressWarnings("unchecked")
public void deserializesIntoObjectTypesForHomogeneousMap() {

    Node value = Node.parse("{\"min\": 10, \"max\": 100}");
    NodeMapper mapper = new NodeMapper();
    Object result = mapper.deserialize(value, Object.class);
    assertThat(result, instanceOf(Map.class));
    assertThat(((Map<String, Object>) result), hasKey("min"));
    assertThat(((Map<String, Object>) result), hasKey("max"));
}