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