Get or Set a value from an object using a key path string. Supports bracket notation, dot notation, and functions.