[WFLY-3078] also marshal directory-grouping if no servers are configured

https://issues.jboss.org/browse/WFLY-3078