added group_id to the JSON body if group is present in Membership instance.
Redmine ignores this parameter.