refactor match view, save match log to json files (better performance)