deal with nonexistent metadata attributes using the map builtin "exists" convention