invalidate vizjson cache when deleting a layer
Minor refactor in Map spec