Serialization of whiteboard state to string