store JSON on each rendering
fixed tests for colspan rowspan requirement