MDL-45725 core_tablelib: Use json_en/decode and don't use session

Signed-off-by: Tony Butler <tonyjbutler@gmail.com>