GEOS5547 - fixed backward compatibility for serialized layer groups