Caps for JSON
Add gridLayer to layerGroup (fixes #240)