better circular references in amd/umd/system module formatter