Tests have not yet been written yet

One idea might be to make a simple JSON generator in the renderer and then compare trees to expected results.