api.raw_call: fix typo
Add JSON type data
update examples/repl.lua