Dump Lua API to JSON