Add filterByKey helper method
Add filtering (static and dynamic) conditions