Add a new mlabsim.web framework layer; always send JSON responses; make response formatting reused abstraction.
Cover the last untested line.