Some fixes. First working demo with JSON CGI.