Added tests for the |json filter.