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

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