@Override
public Object getOutput(
final HttpServletRequest request,
final GameEngine engine) throws GameException {
final GamesJsonContainer gjc = new GamesJsonContainer();
gjc.games=new ArrayList<String>();
for(Game game:GameEngine.instance().getLobby().getAvailableGames()){
gjc.games.add(game.getIdentifier());
}
return (gjc.toJson());
}