#NEWLINE# def default( self , data ) : #NEWLINE# #INDENT# def sanitizer( obj ) : #NEWLINE# #INDENT# return six . text_type ( obj ) #NEWLINE# #UNINDENT# return jsonutils . dumps ( data , default = sanitizer )