feat(query): add support for collection query object on directive