Serialize 'Swift' objects back-forth from their JSON representation