docs: function start(router,port) {
              server.use(router); //Express router
              server
              .listen(port, options.hostname)
              .on('listening', function() {
                  var hostname = options.hostname;
                  var target = 'http://' + hostname + ':' + port;
  
                  //print list of entities contained in the database (i.e. name of first level objects
                  for (var prop in router.db.object) {
                      grunt.log.write(target + '/' + prop);
                  }
                  grunt.log.writeln('Started json rest server on ' + target);
                  grunt.config.set('json_server.' + taskTarget + '.options.hostname', hostname);
                  grunt.config.set('json_server.' + taskTarget + '.options.port', port);
  
                  grunt.event.emit('json_server.' + taskTarget + '.listening', hostname, port);
  
                  if (!keepAlive) {
                      done();
                  }
              })
              .on('error', function(err) {
                  if (err.code === 'EADDRINUSE') {
                      grunt.fatal('Port ' + port + ' is already in use by another process.');
                  } else {
                      grunt.fatal(err);
                  }
              });
          }