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