This commit deals with [[ https://linear.app/comm/issue/ENG-1181/refactor-libfacts-files-from-json-to-js | ENG-1181 ]], part of the parent issue [[ https://linear.app/comm/issue/ENG-929/fix-issues-with-node-1614-import-syntax-assertions | ENG-929 ]]. ENG-1181 handles refactoring the lib/facts files from JSON into JS, and fixing some import statements.
Commandeering this revision from some previous work.