fix json in filter