JSON mapper writter in Swift