Added sanitize function to Game's JSON generation