@Test
public void tabularTypeForMXBeanMapsComplex() throws OpenDataException {

    TabularTypeAndJson inner = getSampleTabularTypeForMXBeanMap();
    TabularTypeAndJson taj = new TabularTypeAndJson(
            new String[]{"key"},
            new CompositeTypeAndJson(
                    STRING, "key", null,
                    inner.getType(), "value", null
            )
    );
    String json = "{ \"keyOne\" : { \"innerKeyOne\" : \"valueOne\" }, \"keyTwo\" : { \"innerKeyTwo\" : \"valueTwo\"}}";
    TabularData data = (TabularData) converter.convertToObject(taj.getType(),json);
    CompositeData col1 = data.get(new String[] { "keyOne" });
    assertEquals(col1.get("key"),"keyOne");
    TabularData innerCol1 = (TabularData) col1.get("value");
    CompositeData col1inner = innerCol1.get(new String[]{"innerKeyOne"});
    assertEquals(col1inner.get("key"),"innerKeyOne");
    assertEquals(col1inner.get("value"),"valueOne");
}