Utkarsh1308 and gitmate-bot FilterHelper.py: Rewrite filters
Change the filters input from list to dict

Fixes #5398
Latest commit 7211a18 Aug 15, 2018