#NEWLINE# def to_json( self ) : #NEWLINE# #INDENT# blob = [ { #NEWLINE# #INDENT# 'count' : x . count , #NEWLINE# 'spec' : x . spec , #NEWLINE# 'alias_name' : x . alias_name , #NEWLINE# 'is_new' : x . is_new , #NEWLINE# 'request_id' : x . request_id , #NEWLINE# #UNINDENT# } for x in self . requests ] #NEWLINE# return jsonutils . dumps ( blob )