serializeText (and other functions) allows an opts argument, but it isn't propagated from serialize function.