use  David Kolf's JSON mudule for Lua instead of our simple function to parse json commands