Replace the use of the JSONObject from json-rpc lib by JSONCodec in DirectoryJSONServlet