JSONFilter should use the JSONEncoder
Created by: Anonymous
Original issue 373 created by @ysavourel on 2013-10-23T12:25:49.000Z:
The JSONFilter class uses the DefaultEncoder not the JSONEncoder.
The JSONEncoder seems to be a copy of the PropertiesEncoder currently.
We need to add encoding tests and update the JSON filter to do the proper escaping.