Made avrotweetformat serializable