Transform with custom query DSL

That did it, thanks!