Update json.lua

Fix for recent changes