REST API of State that returns flows is modified.

 Now it can search by match fields.