improved JSON filter tests