@Test
public void testFromJson() throws Exception {

    final File targetFile = new File(testOutDir, "testFromJson.cnd");
    final File writeBack = new File(testOutDir, "testFromJson_writeback");
    if (targetFile.exists()) {
        targetFile.delete();
    }
    if (writeBack.exists()) {
        FileUtils.deleteDirectory(writeBack);
    }
    OakMachine.Builder builder = TestUtil.fromPlan(obj().get());
    WebsterNodetypesTarget target = WebsterNodetypesTarget.fromJson(targetFile, obj().get());
    target.setArchive(new FileArchive(new File("src/test/resources/filevault/noReferences")), writeBack);
    builder.build().initAndInspect(target::perform);
}