Use jbuilder for groups index view to handle nil requirements