@Test
public void singleObjectsWithNullObjectInside() throws Exception {

    Type type = Converter.single(TestData.class, "findMe", "andMe");
    TestData fromJson = fromJson(type, "{\n"
          + "  \"findMe\": {\n"
          + "    \"andMe\": {\n"
          + "    }\n"
          + "  }\n"
          + '}');
    assertThat(fromJson).isNotNull();
    assertThat(fromJson.str).isNullOrEmpty();
    assertThat(fromJson.val).isEqualTo(0);
    String toJson = toJson(Converter.single(Object.class, "findMe", "andMe"), new Object());
    assertThat(toJson).isEqualTo("{\"findMe\":{\"andMe\":{}}}");
}