Add support for array queries to the rest_query lib.