Split svg functionality from object. svg code can be specified inline. To avoid the parsing of this text, I used a comment tag around it (which is stripped off when it is read).

The names still suck.
The object tag class is dreem_object
The svg tag class is dsvg