group metadata fields

and allow to use several groups