output races and guilds to Json.