Making requests to json api with the new swift language for iPhone development