JSON shape generator now generates compartment shapes