This would be very useful for the CSSOM implementation in Deno (also see #5). Many cssparser structs already have serde::Serialize implementations when you enable the serde feature for cssparser.
If the binary size increase is too much, we can flag it with a crate feature.
I'll try to open a PR later this week.