Add JSON Processing Test, and add newline to output of Utils.encodeJSON(Object)