Added JSON persistence to BoxGL