Ensures value_at_keypath can accept KeyPath::Path objects as well as strings.