Use json library to print schedule results.