Get rid of org.json dependency in api package.
Replace org.json by jackson