There is a bug in the JSON library which causes the initializer list constructor to inconsistently create either an array or a scalar value. This bug causes inconsistent behavoir between the PC and WASM builds. See https://json.nlohmann.me/home/faq/#known-bugs