Convert JSON to Swift objects.