#NEWLINE# def to_data( self ) : #NEWLINE# #INDENT# data = { #NEWLINE# #INDENT# 'tracks' : [ ] , #NEWLINE# #UNINDENT# } #NEWLINE# for track in data . tracks : #NEWLINE# #INDENT# data [ 'tracks' ] . append ( track . to_data ( ) ) #NEWLINE# #UNINDENT# return data