made all enums serializable