Get or set a value in an object/array using a dot-delimited string or array of keys.