common/config: config filter function WIP [GH-521]