unneeded import
factorize collection metadata gathering
allow to check against collection metadata value