Fixed ServiceError enum serialization