[cdi-tiles] bug-fix (array resize of optional GRIB keys); removed unnecessary copy loop of attributes.