json lib for lua and C