Implement leaf descriptor

To allow sending subset of data to client
+ fixed bug with int query params