At some point, compression becomes an aesthetic design choice. Luckily, SVG is a really flexible format, so there's no reason it can't support vector JPEG artifacts.
This is horrible. If someone expects me to do anything at all with the data, I let them know that I can't do anything with an image of the data and they need to send me the text instead.