markup: add pickle support for Markup