My solution is easier with respect to multiple fields that contain spaces. The real example has both the description and committer name. And you can add and remove fields without changing the second part of the pipeline -- you just have to add 0x00 and 0x01 in the format string.
Similar qusetion here:
https://www.reddit.com/r/commandline/comments/719pm2/how_to_...
Also, I've used that kind of sed, and it looks horrible. It makes shell look bad.