text.json: import encoder/decoder from sancus.web.json

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