I'm not aware of anything similar to csserize.

Extracting this method to a Util class was something that I was thinking of, please take  a look.