Move JSON/XML filters into their own file