Revert "Remove jetty and json dependencies now that the ui is a separate module."

This reverts commit 89587ec187cb24262afc30715f2dbc03639ff5df.