allow serializing to Appendable