List<BookNested> books = new ArrayList<BookNested>(4);
AuthorNested author1 = new AuthorNested(new Name("Abdelkrim","EL KHETTABI"));
AuthorNested author2 = new AuthorNested(new Name("Bill","Shakespeare"));
books.add(new BookNested("Book #1", author1));
books.add(new BookNested("Book #2", author1));
books.add(new BookNested("Book #3", author2));
books.add(new BookNested("Book #4", author2));
LibraryNested library = new LibraryNested("Library #1", books);
MapperFactory factory = MappingUtil.getMapperFactory();
factory.registerClassMap(