can you append this in list form [key, b[key]] or is that what you meant by avoiding the special case in log_results?