Fix json_var filter by using JSON module.