For platforms where cjson is not available (eg. Control4) an alternative JSON implementation is required. Obviously cjson support must be maintained, but I think loading json when loading cjson fails is a good solution.
I have tested with https://github.com/rxi/json.lua and it seems to work.
I have a PR to fix this: #42