resolve

fun resolve(catalog: TypeCatalog): Json

base with the module folded in, or base itself where there is nothing to fold.