Fix TypeError when we try to JSON encode invalid UTF-8 sequences & promote promise to exception
Fix TypeError when we try to JSON encode invalid UTF-8 sequences & promote promise to exception

CharlotteDunois/Yasmin