change Tweet object to implements Serializable interface