There isn’t a safe way to do this quickly, although there are unsafe ways. To do it properly the data needs to be decoded and encoded. There are a few ways to do that, as discussed in this thread:
The suggested libraries all (I believe) support both encoding and decoding records.
Side note: I’m planning to update the bs-fetch API after I merge it into rescript-webapi. If you have ideas on ways to make it easier to use please describe them in this ticket.