```ruby
response[:groups] = groups.map(&:as_fever_json)
```