Started working with Swift's Codable for the first time today, and found this article really handy for making enums with associated values Codable.