Add support for CJ queries

:-)
I kinda like using `each_with_object` for these kind of cases, e.g.

``` ruby
resource.forms.each_with_object([]) do |form, result|
  # ...
end
```

So it automatically returns the array again in the end.