GEOS-5548: fixed nested layer groups rest support

Hi,
I've fixed an issue about REST support for nested layer groups.