applied category/tag filter to creating json