Getting KeyPaths to members automatically using Mirror
I've discovered an ability of Swift but I'm not sure it's safe. After modifying this StackOverflow answer, I've got a protocol that will give you, for any conforming object, a dictionary of [member variable name : its keyPath].