Removing dependency on restlet json, using net.sf.json instead