If I'm reading the parenthesis in the failing line correctly, it seems that value.get_encoded() is not actually encoded in py3:
'value': binascii.hexlify(value.get_encoded()).decode('utf-8')
If I'm reading the parenthesis in the failing line correctly, it seems that value.get_encoded() is not actually encoded in py3:
'value': binascii. hexlify( value.get_ encoded( )).decode( 'utf-8' )