Added some JSON stuff to the server.