[WIP] sys: add  JSON serialization and deserialization module

Work in progress.

Entirely untested and undocumented.