Map<String, Object> serialize() {

		final Map<String, Object> map = new TreeMap<>();

		for (final StructrTypeDefinition type : typeDefinitions) {

			map.put(type.getName(), type.serialize());
		}

		return map;
	}
Map < String , Object > serialize ( ) { final Map < String , Object > map = new TreeMap < > ( ) ; for ( final StructrTypeDefinition type : typeDefinitions ) { map . put ( type . getName ( ) , type . serialize ( ) ) ; } return map ; }
----- package methods -----