Removed JSON event system, now uses Lua