Add a function to JsonObject to get all member names.
Convert uistate.json saving/loading to json.h.