Fix grouped collection value/label method automatic detection

Override the grouped collection behavior to use the first non-empty object to detect value/label method.

Fixes #978 
Closes #771