Marshaling and unmarshaling custom tweets