Fixes #88800 by checking if we have a json.properties array in the metad...

...ata befora attemping to check the layer's publication status in GN.