JSON Object mapping written in Swift