JSON example and AJAX with Servlet.