I have the same issue with [String] and [Int]. However, I didn't make a new type for each property, but rather made both of them String (each value is separated with a comma) and now with the help of computed properties I can get the necessary value.