def get_comments(jam, ann):
jam_comments = jam.file_metadata.__json__<EOL>ann_comments = ann.annotation_metadata.__json__<EOL>return json.dumps({'<STR_LIT>': jam_comments,<EOL>'<STR_LIT>': ann_comments},<EOL>indent=<NUM_LIT:2>)<EOL>
Get the metadata from a jam and an annotation, combined as a string.

    Parameters
    ----------
    jam : JAMS
        The jams object

    ann : Annotation
        An annotation object

    Returns
    -------
    comments : str
        The jam.file_metadata and ann.annotation_metadata, combined and serialized