moved MANDATORY_JSON_FIELDS to MapLayerMetadata