WIP emscripten update to use json instead of js to define filesystem
[skip ci]