Maybe just 

```ruby
data[:resource_collection] ||= []
```