def game_mode(response):
for mode in modes['<STR_LIT>']:<EOL><INDENT>if mode['<STR_LIT:id>'] == response['<STR_LIT>']:<EOL><INDENT>response['<STR_LIT>'] = mode['<STR_LIT:name>']<EOL><DEDENT><DEDENT>return response<EOL>
Parse the lobby, will be available as ``game_mode_name``