Swift Higher Order Functions, Codable, Model Creation, Nested JSON

Parsing Imgur json.

How would you assign 'title' from ImageData to Image's title ? Is there a way using higher order functions?

struct ImgurResponse: Codable {
    let data: [ImageData]

struct ImageData: Codable {
    let title: String
    let images: [Image]

struct Image: Codable {
    let title, descripton, nsfw: String
    let link: String

User @Dhawal suggested adding following init to Image:

    init(title: String, desc: String, nsfw: String, link: String) {
        self.title = title
        self.description = desc
        self.nsfw = nsfw
        self.link = link

so that we can:

let response = try JSONDecoder().decode(ImgurResponse.self, from: data)

let images = response.data.compactMap{Image(title: $0.title, desc: $0.images.first!.description, nsfw: $0.images.first!.nsfw, link: $0.images.first!.link)}

Anything more swifty then that?