Codable
Use of Codable with JSONEncoder and JSONDecoder in Swift4