Replaces old serializer invocation in groups model with new one.