[GEOS-6372]: Support CoverageBandDetails customization: backport to 2.5.x