@Test
public void deserializesStrings() {

    Node value = Node.from("hi");
    NodeMapper mapper = new NodeMapper();
    assertThat(mapper.deserialize(value, Object.class), equalTo("hi"));
    assertThat(mapper.deserialize(value, String.class), equalTo("hi"));
}