sancus.web: move json encoder/decoder to sancus-lua-core

Signed-off-by: Alejandro Mery <amery@geeks.cl>