Add a method `utterance_to_dict` in the class `AnnotatedUtterance`. This method can be reused when saving a dialogue.